Converts an ANSI string (Windows) to an OEM string (DOS). 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).
Res is string
StringToConvert is string = "Crème brûlée"
Res = AnsiToOem(StringToConvert)
<Result> = AnsiToOem(<String to convert>)
<Result>: ANSI character string
OEM character string.
<String to convert>: ANSI character string
ANSI string to convert.
- AnsiToOem does not convert characters with an ASCII code between 0 and 31 (control characters).
- Caution: Do not use AnsiToOem with a string containing OEM specific characters (accented characters): these characters will be converted and the result will be incorrect.