[haXe] Exchanging Unicode strings via remoting

Nicolas Cannasse ncannasse at motion-twin.com
Fri Aug 11 18:20:43 CEST 2006


>>NC> Flash strings are UTF-8.
>>
>>But what about flash strings generated from user input? Will they be
>>utf8? I thought flash works with Unicode (utf16) internally..
> 
> 
> The encoding of the "String" class is always UTF-8.
> There is no way for example to use ISO/UTF-16 encodings instead.
> 
> Nicolas

There was indeed a problem with UTF-8 strings unserialization on Neko
(when several strings were containg UTF-8 chars, they were getting
corrupted when unserializing). This is now fixed on CVS, thank to
Michael for reporting it.

Nicolas



More information about the Haxe mailing list