Gordon,
Your fix worked perfectly! Now I can finally add my Special Character
feature to the HTML editor. Thanks a ton man! Here is the test data
that worked:
<?xml version="1.0" encoding="UTF-8"?>
<specialChars>
<character>
<data>©</data>
<label>Copyright sign</label>
</character>
</specialChars>
- Michael
--- In [email protected], "Gordon Smith" <[EMAIL PROTECTED]> wrote:
>
> \u00A9 is AS syntax that only means something inside of an AS string
> literal.
>
>
>
> In an XML literal, you have to use XML entity syntax, which I believe
> would be <data>©</data>.
>
>
>
> - Gordon
>
>
>
> ________________________________
>
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Michael Ritchie
> Sent: Wednesday, August 09, 2006 1:03 PM
> To: [email protected]
> Subject: [flexcoders] Loading Unicode values from XML and viewing in
> Flex components as HTML
>
>
>
> In a recent project, I wanted to load the Unicode values for special
> characters from an external XML file. I wanted these values to show up
> in a label or text box using something like label.htmlText =
> "\ul00A9", which would produce the copyright symbol. However, when I
> loaded the values from a simple XML node, the resulting label showed
> the literal value"\ul00A9" instead of the copyright symbol. I created
> a test application and found that local XML vars work and local
> Unicode strings work, but not loaded Unicode values from XML. I have
> sample URL for my test application (right-click view source) and the
> code below:
>
> URL: http://thanksmister.com/xmlunicode/index.html
> <http://thanksmister.com/xmlunicode/index.html>
>
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/