Oem2Ansi Function |
Caution |
---|
The Ansi2Oem() and Oem2Ansi() family of functions are compatibility functions. Do not use them unless you really have to.
X# is a Unicode language and conversions from Unicode - Ansi - Oem - Unicode will take place
if you use these functions. You should also realize that Ansi2Oem(Oem2Ansi(cSource)) will not always return cSource. Some characters may not be available in the OEM codepage and could be translated to other characters. For example: Windows codepage 1252 has Capital E Umlaut (Ë) on position 203. When translated to OEM codepage 437 this will become capital E without umlaut (69). Converting back to Ansi this will remain a E without umlaut. |
Name | Description | |
---|---|---|
Oem2Ansi(Byte) |
Convert an array of OEM characters to ANSI characters.
| |
Oem2Ansi(String) |
Convert a string of OEM characters to ANSI characters.
| |
Oem2Ansi(Byte, Long) |
Convert an array of OEM characters to ANSI characters.
|
Caution |
---|
The Ansi2Oem() and Oem2Ansi() family of functions are compatibility functions. Do not use them unless you really have to.
X# is a Unicode language and conversions from Unicode - Ansi - Oem - Unicode will take place
if you use these functions. You should also realize that Ansi2Oem(Oem2Ansi(cSource)) will not always return cSource. Some characters may not be available in the OEM codepage and could be translated to other characters. For example: Windows codepage 1252 has Capital E Umlaut (Ë) on position 203. When translated to OEM codepage 437 this will become capital E without umlaut (69). Converting back to Ansi this will remain a E without umlaut. |