Supporting of windows-1251 encoding