So I had to do some head scratching recently to figure out a little issue in Flash.. one of my SWFs was accepting unicode from JavaScript and the characters looked fine prior to being sent into the SWF, but were all mangled once they got into the SWF. As per specs the JavaScript was “escaping” the string before sending it in. So I did some digging and asked around and here’s what I found..
There’s a link on there to a page that goes into detail about the difference between escape and encodeURIComponent..
You can also use the page to try sending unicode text from JavaScript into a SWF and see how it reacts.. it’s interactive like.