This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients ezio.melotti, pitrou, python-dev, serhiy.storchaka, vstinner
Date 2012-11-12.08:05:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <201211121005.27680.storchaka@gmail.com>
In-reply-to <1352675536.75.0.987130459702.issue16444@psf.upfronthosting.co.za>
Content
> You can uses cpXXX encodings explictly to read or write a file, but these
> encodings are not used for sys.getfilesystemencoding() (or
> sys.stdout.encoding).

At least CP1251 has been used for many cyrillic locales in before-UTF8 age (I use it sometimes still). For now CP1251 is the default encoding for Byelorussian and Bulgarian:

$ grep CP /usr/share/i18n/SUPPORTED
be_BY CP1251
bg_BG CP1251
ru_RU.CP1251 CP1251
yi_US CP1255
History
Date User Action Args
2012-11-12 08:05:43serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, vstinner, ezio.melotti, python-dev
2012-11-12 08:05:43serhiy.storchakalinkissue16444 messages
2012-11-12 08:05:42serhiy.storchakacreate