Re: [flexcoders] Re: Loading Unicode values from XML and viewing in Flex components as HTML

2006-08-10 Thread ryanm
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 labelInverted Exclamation Mark/label /character; I was able to see the copyright symbol as HTML on my label. What threw me was that I

Re: [flexcoders] Re: Loading Unicode values from XML and viewing in Flex components as HTML

2006-08-10 Thread ryanm
I got word back that the SpiderMonkey implementation of E4X does NOT treat \u as an escape sequence in an XML literal, so I've filed it as an AS3 bug that we do. However, whoever gets assigned this bug will have to consult the E4X spec carefully to determine whether it has anything to say

RE: [flexcoders] Re: Loading Unicode values from XML and viewing in Flex components as HTML

2006-08-10 Thread Gordon Smith
Sorry, no t-shirt... just our thanks for helping us improve Flex. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Ritchie Sent: Wednesday, August 09, 2006 5:56 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Loading

[flexcoders] Re: Loading Unicode values from XML and viewing in Flex components as HTML

2006-08-09 Thread Michael Ritchie
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 labelInverted Exclamation Mark/label /character; I was able to see the copyright symbol as HTML on my label. What threw me was that I

RE: [flexcoders] Re: Loading Unicode values from XML and viewing in Flex components as HTML

2006-08-09 Thread Gordon Smith
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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Ritchie Sent: Wednesday, August 09, 2006 3:34 PM To:

[flexcoders] Re: Loading Unicode values from XML and viewing in Flex components as HTML

2006-08-09 Thread Michael Ritchie
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#x00A9;/data labelCopyright

RE: [flexcoders] Re: Loading Unicode values from XML and viewing in Flex components as HTML

2006-08-09 Thread Gordon Smith
I got word back that the SpiderMonkey implementation of E4X does NOT treat \u as an escape sequence in an XML literal, so I've filed it as an AS3 bug that we do. However, whoever gets assigned this bug will have to consult the E4X spec carefully to determine whether it has anything to

[flexcoders] Re: Loading Unicode values from XML and viewing in Flex components as HTML

2006-08-09 Thread Michael Ritchie
Wow, are you saying I found a bug? Do I get a t-shirt or something ;). --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: I got word back that the SpiderMonkey implementation of E4X does NOT treat \u as an escape sequence in an XML literal, so I've filed it as an AS3