Salesforce

How Do I Find the Unicode Value of a Character? (Magic xpa 2.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

How Do I Find the Unicode Value of a Character? (Magic xpa 2.x)

You can convert a Unicode character into a decimal value by using the UnicodeVal() function. In this example, we convert a Katakana character into its underlying decimal value, 12,472.

UnicodeVal(UnicodeCharacter)

Where UnicodeCharacter is a character with a Unicode attribute. This returns a decimal number representing the Unicode value.

See also

The Online and Rich Client Samples projects (program UN04 and RUN04)

Reference
Attachment 
Attachment