Converts an OEM string (DOS) to an ANSI string (Windows). Accented characters are different in both standards. The conversion consists in modifying the accented characters.
- ANSI is the character set used in Windows.
- OEM is the character set used in DOS (or Windows console).
Str is string
Str = Charact(130) + "t" + Charact(130) // "été" in OEM
// displays "été" in ANSI in the Windows information window
<Result> = OemToAnsi(<OEM character string>)
<Result>: ANSI character string
<OEM character string>: Character string
OEM string format to be converted.
- OemToAnsi does not convert characters with an ASCII code between 0 and 31 (control characters).
- Caution: Do not use OemToAnsi with a string containing ANSI specific characters (accented characters): these characters will be converted and the result will be incorrect.