correct decoding of cyrillic text encoded in win-1251 or koi8-r