string: A string containing Unicode characters, to be converted to ANSI.
codepage: A number representing the code page that will be used for the conversion. If this parameter's value is 0, the default code page is used.
Returns:
An ANSI string containing the converted Unicode string. If an invalid code page was sent, or the Unicode string is NULL, the function returns a NULL value.
Note:
If the Unicode string contains characters that are not included in the designated code page, data might be lost during the conversion process.