I'll ask the Player team whether \u is supposed to be treated as an escape sequence when compiled into an XML literal.

 

- Gordon

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Ritchie
Sent: Wednesday, August 09, 2006 3:34 PM
To: [email protected]
Subject: [flexcoders] Re: Loading Unicode values from XML and viewing in Flex components as HTML

 

Gordon,

That makes sense but its still strange that when I created an XML var
in side application, it worked:

var localXML:XML =
<character>
<data>\u00A9</data>
<label>Inverted Exclamation Mark</label>
</character>;

I was able to see the copyright symbol as HTML on my label. What
threw me was that I couldn't do this from the XML.

--- In [EMAIL PROTECTED]ups.com, "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>&#x00A9;</data>.
>
>
>
> - Gordon
>
>

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to