[Python-Dev] Python code.interact() and UTF-8 locale (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Wed Sep 14 18:34:46 CEST 2005
- Previous message: [Python-Dev] Python code.interact() and UTF-8 locale
- Next message: [Python-Dev] PEP 3000 and iterators
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Victor STINNER wrote:
RexFi explains me that Python can't guess eval('len(u"é")') charset.
I personally like to see a charset argument for eval() and compile(). exec would not directly support other charsets; you would have to compile() first to specify a charset.
I have a patch somewhere that does that, but did not get to publish it yet.
Regards, Martin
- Previous message: [Python-Dev] Python code.interact() and UTF-8 locale
- Next message: [Python-Dev] PEP 3000 and iterators
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]