On Feb 11, 11:37 am, "Edward K. Ream" <[email protected]> wrote:
> More to the point, I created, saved and loaded ффф.leo
>
> This doesn't prove that all is well, only that all is well for utf-8
> encodings. But that is enough for rc1.
Oops. Another save in ффф.leo gives this:
unexpected exception writing c:\Users\edreamleo\.leo
\.leoRecentFiles.txt
Traceback (most recent call last):
File "c:\leo.repo\trunk\leo\core\leoConfig.py", line 2093, in
writeRecentFilesFileHelper
theFile.write(s)
File "c:\python31\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in
position 27-29: character maps to <undefined>
saved: ффф.leo
Somehow the write method is using 'cp1252' (!!) Probably need to
open the file in 'wb' mode. Stay tuned.
Edward
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en.