Flash Pro CC2015 > AS 3 >Textfield > convert unicode numbers (U+4integers) to charCode (hexidecimal)
First, I want to thank these forum moderators and members for your attention to this matter.
I am using Flash Pro to display a foreign language font in a textfield.
I have already created the textfield instance, styling, etc.
I have used Windows Character Map (in accessories) to see the glyphs in this font, where in I have a table of each glyph and its unicode equivalent/QWERTY keyboard character (for example ! is U+0021)
Mytextfield.htmlText = String.fromCharCode(0x023D2A)
QUESTION:
This is not strictly a Flash AS3 technical question, but is related to the above implementation.
How do I change the Unicode that I find for a glyph from the Windows Character Map into its Hexidecimal equivalent for use with the CharCode implementation above?
The reason being that there are some glyphs that I need that are not on the QWERTY keyboard but are in the Character Map, accessible by knowing their unicode number. All that I need to display them would be their hexidecimal equivalent. (Yippee! The code that I found on stackoverflow does work! At least in displaying, though I don't know what character glyph 0x023D2A is supposed to look like. It came out as an Asian glyph using SHebrew font.)
The problem being that I can't Google or search Adobe Forum because I don't have the correct jargon for this "hexidecimal" parameter.
Thank you.
PS As I write this, my heart goes out to the victims in Brussels. May we have world peace soon.
References:
List of Unicode characters - Wikipedia, the free encyclopedia
Unicode and HTML for the Hebrew alphabet - Wikipedia, the free encyclopedia
http://stackoverflow.com/questions/2405618/display-unicode-character-in-actionscript
