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.
The Online and Rich Client Samples projects (program UN04 and RUN04)