Salesforce

UTF8ToANSI (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

UTF8ToAnsi (Magic xpa 3.x)

Converts data encoded in UTF8 to an ANSI string. This function uses code pages as defined in the CodePage function. If you are not using the CodePage function, the default OS code page is used in a similar way as with Java functions.

Syntax:

UTF8ToAnsi(string value)

Parameters:

string value – The task variable that will be converted. The variable can be an Alpha or BLOB attribute.

Returns:

A BLOB RTF encoded in ANSI. A Null is returned when using an invalid code page.

Example:

Where A is a BLOB variable in the current task,
UTF8ToAnsi (A) returns a BLOB containing the value of A encoded in ANSI.

See also:

UTF8FromAnsi

The Online and Rich Client Samples projects (program CV11 and RCV11)

Reference
Attachment 
Attachment