On Sat, Nov 16, 2013 at 4:10 AM, Steven D'Aprano <steve+comp.lang.pyt...@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 -- https://mail.python.org/mailman/listinfo/python-list