Salesforce

CodePage (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

CodePage (Magic xpa 4.x)

Sets the code page to convert incoming and outgoing data to Magic xpa.

When Magic xpa receives data, it is converted from the specified code page to Magic xpa's internal representation. When Magic xpa sends data, it is converted from Magic xpa's internal representation to the specified code page. The code page is effective immediately for the current context only, until the next code-page call made by the current context. Magic xpa's default code page is the default code page of the operating system. This function is relevant for XML documents, Java functions, and Web Services.

Syntax:

CodePage(code page)

Parameters:

code page – The numeric value that represents the code page to be used. A zero value resets the code page back to the default of the operating system.

Returns:

A logical value. If the function is successful in locating and setting the code page, a 'TRUE'LOG value is returned.

Example:

CodePage(1252) sets the code page to Windows ANSI.

Note:

This function is effective within a specific running context.

See also:

Java Functions

The Online and Rich Client Samples projects (program CV14 and RCV14)

Reference
Attachment 
Attachment