Description

Converts a UNICODE string to an ANSI string.

Syntax

ansiString = UNICODE_ANSI (uniCodeString, delimiter)

Parameters

The function has the following parameters:

ParameterDescription
uniCodeStringThe Unicode string to convert to ANSI. This string will contain two-byte Unicode characters.
delimiterThe minimum delimiter value to use in the conversion.

Returns

A string containing single-byte ANSI characters.

See also

ANSI_UNICODE()

Example

declare function UNICODE_ANSI
 
utf8_char = \C2AE\
ansi_char = UNICODE_ANSI(utf8_char)
* ansi_char contains  \AE\ the registration trademark
  • No labels