Tapatalk

DOS codepage 866 problem (Russian OEM)

DOS codepage 866 problem (Russian OEM)

5
NewbieNewbie
5

PostJan 27, 2009#1

Hello,

I am trying to view a text file that was written in DOS codepage 866

I tried:
View / Set Code Page... / 866 (OEM - Russian)
View / Set Font... / Terminal OEM-DOS

I still see garbage.

Please help.

6,825625
Grand MasterGrand Master
6,825625

PostJan 28, 2009#2

I suggest to use font Courier New and switch to OEM Character Set. If you can't see that menu item in menu View, see Manual customization of OEM Character Set command for help on how to add this command to the menu or toolbar.

5
NewbieNewbie
5

PostJan 28, 2009#3

Thank you.
I tried it and got different garbage.

6,825625
Grand MasterGrand Master
6,825625

PostJan 29, 2009#4

Well, that's bad. View - Set Code Page is only for specifying the code page used for conversion from Unicode to ASCII/ANSI and vice versa (and local specific sorts). It has no influence on the glyphs used for displaying the bytes in an ASCII/ANSI file as characters. Only the selected font and the selected script is responsible for the display of the bytes as characters. So you need a font which supports DOS codepage 866.

Or you try following: After selecting the codepage use File - Conversions - ASCII to Unicode to convert your file to Unicode. This character set contains nearly all characters of all languages. So you should see now the correct characters. When you are finished with editing, convert the file back to ASCII and save it.

5
NewbieNewbie
5

PostJan 29, 2009#5

Thank you, that worked.