[Chicago] python to use utf8 as default for everything.
kumar.mcmillan at gmail.com
Mon Oct 13 02:11:57 CEST 2008
On Sat, Oct 11, 2008 at 11:34 PM, Lukasz Szybalski <szybalski at gmail.com> wrote:
> I found this post that talks about how to switch default python
> encoding to uft8 using sys.setdefaultencoding('utf-8').
this seems like a good idea at first but IMHO it's a bad one.
Instead, you're better off writing your code to work with the default
encoding of python <= 2.5 which is ascii. If not, your code will not
> but then it somehow gets deleted and needs to be reloaded?!!?? Is that
> still the case? I wasn't sure how old this post is?
> Chicago mailing list
> Chicago at python.org
More information about the Chicago