Hello Nicolas,

> 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.

Got back to this problem now, tried doing Utf8.encode - it now keeps
the string length when tracing on flash side but fails to display
symbols properly. I am trying on Cyrillic symbols, and my best guess
is that when doing UTF8 encoding, it does not take system codepage
into account, leading to incorrect character code mapping... If this
is right, not an easy thing to fix, need to use native API calls or
smth like that.

-- 
Best regards,
 Michael                          mailto:[EMAIL PROTECTED]



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

Reply via email to