You don't have to do anything special to use Unicode in Flex. It's handled by the Flash Player.
If you use an embedded font however, you can reduce the Unicode character range embedded in order to save some kilobytes.
is there any sample code for virtual keyboard using unicode?
1 person found this helpful
Here's the general idea:
<s:Button label="A" click="textArea.insert('A')"/>
<s:Button label="B" click="textArea.insert('B')"/>
Skin the buttons to look pretty and arrange them in a keyboard shape.
If you write your MXML in, say, UTF-8, using a Unicode-aware editor, such as the one in Flash Builder, you can just type Hindi characters in places of A, B, etc. Or you can use Unicode escape sequences (such as \u0900) inside of ActionScript strings to specify a Hindi character (such as U+0900), as in
The Unicode values of each character are given at
If Devanagari isn't the same as Hindi, please forgive me... I'm not an expert on Ithe various Indian languages. Google should be able to find a Unicode table for whatever language you need.
Adobe Flex SDK Team