Read russian chars in Adobe Flex

Posted on 2009-02-09
Last Modified: 2012-05-06

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
Question by:PuneetKSaxena
    LVL 19

    Expert Comment

    You need to show come code.  Flex will display Unicode/UTF-8 char sets.  Do you have the font packs installed?
    LVL 1

    Accepted Solution

    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:

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    The Problem How to write an Xquery that works like a SQL outer join, providing placeholders for absent data on the outer side?  I give a bit more background at the end. The situation expressed as relational data Let’s work through this.  I’ve …
    The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API ( has made its way into the popular lexicon of the English language.  A few years ago, …
    This video discusses moving either the default database or any database to a new volume.
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now