Function ConvToAnsiCP() Foundation
Converts a character string to an ANSI code page
ConvToAnsiCP( <cOemFormatString> ) --> cAnsiFormatString
The function returns a string converted to ANSI.
The function ConvToAnsiCP() converts character strings from OEM to ANSI. OEM and ANSI character sets differ especially in language specific special characters, like the German umlauts, for example.
Normally, a string conversion is not necessary since Xbase++ performs a conversion automatically. However, if data is exported from an Xbase++ application to be processed by other Windows programs, an explicit conversion to ANSI may be necessary. Also, if character strings are passed to Windows system API functions, they must be converted to ANSI.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.