saving cyrillic text files

Martin v. Loewis martin at
Mon Sep 2 01:41:09 EDT 2002

"Denis S. Otkidach" <ods at> writes:

> If you have created python script using GUI text editor (that
> uses cp1251) and opened resulted file with console editor (that
> uses cp866) or vice versa, than you get garbled text.  Try using
> the same editor for both things.

That would explain the observed behaviour. Could the original poster
kindly report whether this is indeed the problem?


P.S. I really hate OEMCP, and that they use it in the console.

More information about the Python-list mailing list