adding support for windows-1250 encoding - when file is opened its converted into utf and this makes characters like BF to be 0x17C