[Python-Dev] Unicode source code (original) (raw)
Just van Rossum just@letterror.com
Sun, 9 Feb 2003 19:59:06 +0100
- Previous message: [Python-Dev] Unicode source code
- Next message: [Python-Dev] Unicode filenames
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I wrote:
Hm. What I'm looking into now is to simply define a PyCompilerFlags flag called PyCFSOURCEISUTF8. eval() and compile() will then convert a unicode string to utf-8 and set this flag. This seems a very low-impact solution. Does this make sense?
Whether it makes sense I don't know , but it does work. I've uploaded a patch, including test for eval() and compile():
Just
- Previous message: [Python-Dev] Unicode source code
- Next message: [Python-Dev] Unicode filenames
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]