I have some external files encoded with utf8 and utf16-le with BOM marks. Leo ignores these marks, become these files garbled. I cannot fix this problem with @enconding directives.
Reading the code, I can see the problem when leo opens files as binary, followed by a unicode encoding. Why not use, instead, the 'codecs.open' for this job, more friendly with BOM-marks? Testing with system: Leo 4.11 devel, build 5418, 2012-07-09 09:10:17 Python 2.7.3, qt version 4.8.0 Windows 5, 1, 2600, 2, Service Pack 3 -- Hyperreals *R: http://ch3m4.org/blog Quarks, bits y otras criaturas infinitesimales -- 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.
