[flexcoders] Re: How do I html decode a string? ex: Iacute
Hi, thanks, but that doesn't work. I need something to decode the literals, such as 'lt', 'quot', iacute, etc. --- In flexcoders@yahoogroups.com, Greg Hess flexeff...@... wrote: The global function unescape(str) might be what you are looking for if you need to decode a URL-encoded string. HTH, Greg On Fri, Jan 30, 2009 at 2:32 PM, luvfotography ygro...@... wrote: Is there a function to html decode a string? I want to translate Iacute to the single character i with the accent. thanks,
Re: [flexcoders] Re: How do I html decode a string? ex: Iacute
Ah, I believe those HTML entities. You may find support in some HTML utils... On Fri, Jan 30, 2009 at 3:57 PM, luvfotography ygro...@all-digital-links.com wrote: Hi, thanks, but that doesn't work. I need something to decode the literals, such as 'lt', 'quot', iacute, etc. --- In flexcoders@yahoogroups.com, Greg Hess flexeff...@... wrote: The global function unescape(str) might be what you are looking for if you need to decode a URL-encoded string. HTH, Greg On Fri, Jan 30, 2009 at 2:32 PM, luvfotography ygro...@... wrote: Is there a function to html decode a string? I want to translate Iacute to the single character i with the accent. thanks,
[flexcoders] Re: How do I html decode a string? ex: Iacute
A hack if all fails: (?) var stringWithHtmlLits:String = lt; its ok gt;; var t:TextField = new TextField(); t.htmlText = stringWithHtmlLiterals; var nonLits:String = t.text; --- In flexcoders@yahoogroups.com, Greg Hess flexeff...@... wrote: Ah, I believe those HTML entities. You may find support in some HTML utils... On Fri, Jan 30, 2009 at 3:57 PM, luvfotography ygro...@... wrote: Hi, thanks, but that doesn't work. I need something to decode the literals, such as 'lt', 'quot', iacute, etc. --- In flexcoders@yahoogroups.com, Greg Hess flexeffect@ wrote: The global function unescape(str) might be what you are looking for if you need to decode a URL-encoded string. HTH, Greg On Fri, Jan 30, 2009 at 2:32 PM, luvfotography ygroups@ wrote: Is there a function to html decode a string? I want to translate Iacute to the single character i with the accent. thanks,