We help IT Professionals succeed at work.

Read russian chars in Adobe Flex

PuneetKSaxena
on
Medium Priority
793 Views
Last Modified: 2012-05-06
Hi,

I'm reading a html file which conatins russian chars by URLConnection and after parsing  this html, i'm creating  a xml file, which conatins russian chars.

When in  view this xml in IE, russian chars are viewed as ???????.

Now in my adobe FLex application, i'm reading this xml and putting the text from xml in HTMLText in there also it gives russian chars as ???????? only.

How can i change my xml/Adobe FLex code in order to display the parsed russian data from html in xml and finally in Adobe Flex

Any help in this regard will be highly appreciated

Thanks and Regards
Puneet
Comment
Watch Question

Commented:
You need to show come code.  Flex will display Unicode/UTF-8 char sets.  Do you have the font packs installed?
Could you supply URL of this web page?
Russian web sites may contain text in CP1251, KOI-8R, MAC or UTF-8 encoding (there are some other, but rare).
For 1251/KOI you need to convert it to UTF-8 to show in Flash controls. Second problem - incorrect META CHARSET or HTTP headers on some web sites.
And of course you need cyrillic font on you computer.
Some info about cyrillic encodings: http://czyborra.com/charsets/cyrillic.html

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.