Description

Converts a variable containing ANSI characters to a variable containing the corresponding UTF_8 characters.

Syntax

UTF_8_row = ANSI_UTF8(ANSI_row, minimum_delimiter)

Parameters

The Ansi_UTF8 function has the following parameters.

ParameterDescription
ANSI_rowA variable containing ANSI characters.
minimum_delimiter(optional) Minimum system delimiter used when converting. Pass char(00) or do not pass to preserve all delimiters. Pass char(255) to convert all delimiters.

See also

UTF8_ANSI()

Example

declare function ANSI_UTF8
*  \AE\ the registration trademark
ansi_char = \AE\ : @FM : @VM : @SVM
*  preserves @FM and @VM but converts @SVM to ANSI
utf8_char = ANSI_UTF8(ansi_char, @VM)
*  preserves all Pick delimiters
utf8_char = ANSI_UTF8(ansi_char, char(00))
*  converts all Pick delimiters
utf8_char = ANSI_UTF8(ansi_char, char(255))
  • No labels