Python 2.3.5 (#2, Nov 20 2005, 16:40:39)
[GCC 4.0.3 20051111 (prerelease) (Debian 4.0.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.environ['LANG']
'ru_RU.KOI8-R'
>>> print '\xf1\xf6\xe5\xed\xe0\xf0\xe8\xe9'.decode('cp1251').encode('koi8-r')
сценарий