python 3.3 repr
Chris Angelico
rosuav at gmail.com
Fri Nov 15 12:29:11 EST 2013
On Sat, Nov 16, 2013 at 4:10 AM, Steven D'Aprano
<steve+comp.lang.python at pearwood.info> wrote:
> No, UTF-8 is okay for writing to files, but it's not suitable for text
> strings.
Correction: It's _great_ for writing to files (and other fundamentally
byte-oriented streams, like network connections). Does a superb job as
the default encoding for all sorts of situations. But, as you say, it
sucks if you want to find the Nth character.
ChrisA
More information about the Python-list
mailing list