Salesforce

UnicodeFromANSI (Magic xpa 2.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

UnicodeFromANSI (Magic xpa 2.x)

Converts an ANSI string to Unicode characters as determined by the selected code page.

Syntax:

UnicodeFromANSI (ANSI String, Code Page)

Parameters:

ANSI String: A string containing ANSI characters that will be converted to Unicode.

Code Page: A number representing the code page that will be used for the conversion. If this parameter's value is 0, the default system code page is used.

Returns:

A Unicode string containing the converted string. If an invalid code page was sent, or the ANSI string is NULL, the function returns a NULL value.

See also:

UnicodeToANSI

How Do I Create or Read a Unicode Text File?

How Do I Convert Between ANSI and Unicode?

The Online and Rich Client Samples projects (program UN03 and RUN03)

Reference
Attachment 
Attachment