UnicodeError...
Martin v. Loewis
martin at v.loewis.de
Tue Jul 30 14:03:01 EDT 2002
More information about the Python-list mailing list
Tue Jul 30 14:03:01 EDT 2002
- Previous message (by thread): PEP 298 - the Fixed Buffer Interface
- Next message (by thread): UnicodeError...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Teemu Luojola <tempe at pp.inet.fi> writes: > Well, here is the result, when I entered precisely what was told in FAQ: > > >>>> encoding = "ascii" > >>>> import locale > >>>> loc = locale.getdefaultlocale() > >>>> if loc[1]: > > encoding = loc[1] The FAQ did not tell you enter these statements at the interactive prompt. It told you to modify the file site.py, which is located on your hard disk. > How it is possible, that sys.setdefaultencoding() does not exist? It's deleted from sys in site.py. Regards, Martin
- Previous message (by thread): PEP 298 - the Fixed Buffer Interface
- Next message (by thread): UnicodeError...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list