Salesforce

UnicodeCHR (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

UnicodeChr (Magic xpa 3.x)

Converts a numeric value to its corresponding Unicode character.

Syntax:

UnicodeChr (Number)

Parameters:

Number: A decimal number that represents the numeric value of a Unicode character.

Returns:

This returns a Unicode character, which will display as the appropriate character in a Unicode field.

Unicode characters can accept values between 0 and 65,535. If the number sent is outside this range or evaluates to NULL, the function returns a NULL value. If the number is within the Unicode character range, the character represented by the numeric value is returned.

Note:

The number here needs to be decimal, but the Unicode code pages are typically printed with hex codes. To translate these, you can use the HVal() function.

See also:

How Do I Convert the Unicode Value to a Unicode Character?

The Online and Rich Client Samples projects (program UN05 and RUN05)

Reference
Attachment 
Attachment