On Feb 11, 1:31 pm, "Ville M. Vainio" <[email protected]> wrote:
> What do you mean you use leo with koi8-r locale? I assume you didn't
> do sys.setdefaultencoding... (which you shouldn't) ?

I didn't alter any python-specific locale-related stuff.

$ locale
LANG=en_US
LC_CTYPE=ru_RU.KOI8-R
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE=ru_RU.KOI8-R
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=

> Ah, probably the "filename" was some unicode stuff at the time?
The filename has hardcoded unicode stuff, just have a look at those
tests in the leo source.
I can hardly imagine how could one manage to enter such a filename in
standard file dialogs when using a non-utf locale, that's why I've
asked if it's possible to skip these tests in non-utf scenarios.
Having all tests pass is nice, but I do realize that having the test
pass just for the sake of having them pass is bad.

-- 
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.

Reply via email to