Salesforce

UnicodeToANSI (Magic xpi 4.5)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

UnicodeToANSI (Magic xpi 4.5)

Converts a Unicode string to ANSI characters according to a selected code page.

Syntax:

UnicodeToANSI (Alpha unicodestring, Numeric codepage)

Parameters:

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.

See also:

UnicodeFromANSI

Reference
Attachment 
Attachment