Skip navigation
Kamal Wickramanayake
Currently Being Moderated

Direct unicode text entry into TextField, TextArea, RichTextEditor fails

May 13, 2009 1:41 AM

I attempted to enter unicode text (in languages other than English) into Flex widgets (textfield, textarea, richtexteditor), but direct typing does not seem to work.

 

Embedding fonts that support other languages was OK. I could also get the widget to display text in other languages when the text is hard coded or comes from another source other than the keyboard as a string. But even there, you cannot have a string which contains characters in multiple languages to appear properly.

 

1. When a string has unicode characters that belong to multiple languages, what the Flex widget displays is the portion
of text in one language (based on the fontFamily that points to a font that supports the corresponding language). For example, you can get En
characters to appear at a time (when the font supports them). Or else you can only have the characters in some other languges (when the font supports that language). But widgets fail to display the full string which contains multi language characters at once. This is applicable probably to all controls, not just for text input controls.

 

2. Entering unicode (via keyboard) into TextField, TextArea, RichTextEditor fails. Widgets are not accepting unicode input in other languages. RichTextEdior however seems to support pasting - still in one language.

 

Your help is greatly appreciated.

 

Kamal

 
Replies
  • Currently Being Moderated
    May 13, 2009 12:52 PM   in reply to Kamal Wickramanayake

    Are you saying that the ALT+numbers technique doesn't work for you?

     

    Alex Harui

    Flex SDK Developer

    Adobe Systems Inc.

    Blog: http://blogs.adobe.com/aharui

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points