> Hello list,
> 
>   I am going on with improving my understand of how utf8 is handled in
>   neko. I am trying to solve a problem I have: in swhx, I pass a
>   parameter from neko to flash as flashvars using urlEncode to encode
>   it. The problem as I see it now is that non-ASCII characters seem to
>   be tampered somewhere in between and are not passed to flash
>   properly. Therefore, a question - does neko urlEncode work properly
>   for non-ASCII chars?

Do you mean that you are doing an additional urlEncode, or using haXe
serializer ? urlEncode works ok with non-ASCII chars but once decoded in
Flash the string should be UTF-8 valid (or bad chars will happen in
Flash6-7-8 and an exception on urlDecode in Flash9).

Maybe try to run neko.Utf8.encode on the Neko side before passing it to
Flash.

Nicolas

-- 
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to