(Created page with "<seo title="Translating between ANSI and OEM / ASCII | vEdit" description="Use vEdit's built-in table for translating between the OEM, original IBM PC or DOS, graphics charac...")
 
(To Translate a File from OEM-PC to ANSI)
Line 13: Line 13:
 
*You can translate a file with non-English characters from the OEM-PC character set to the ANSI character set.
 
*You can translate a file with non-English characters from the OEM-PC character set to the ANSI character set.
  
==To Translate a File from OEM-PC to ANSI==
+
==Translate a File from OEM-PC to ANSI==
  
 
#Open your file, e.g. <kbd>File</kbd> > <kbd>Open</kbd>.
 
#Open your file, e.g. <kbd>File</kbd> > <kbd>Open</kbd>.

Revision as of 14:00, 30 January 2017


vEdit has a built-in table for translating between the OEM / ASCII (original IBM PC or DOS) graphics characters and the ANSI (Windows) character sets. This is particularly useful for translating non-English characters from their OEM value to the value needed for most Windows programs.

For example:

  • The “ü” (umlaut u) has an OEM value of “129”, but an ANSI value of “252”. The built-in ANSI/OEM table does not change any normal characters with values of less than 128. As with most translations, some characters cause problems because there is no equivalent.
  • There is no ANSI equivalent to the OEM (IBM PC) box-drawing characters.
  • You can translate a file with non-English characters from the OEM-PC character set to the ANSI character set.

Translate a File from OEM-PC to ANSI

  1. Open your file, e.g. File > Open.
  2. Select Block > Select all or Ctrl-A to mark the entire file as a block.
  3. Select Edit > Translate > OEM-ASCII to ANSI to translate the file to the ANSI character set.
Since the OEM and ANSI character sets define different characters, not all characters will translate correctly. In particular, there is no ANSI equivalent for most OEM-PC graphics characters, e.g. the “box drawing” characters.