[rust-dev] String encode/decode

Graydon Hoare graydon at mozilla.com
Tue Apr 9 12:20:59 PDT 2013


On 09/04/2013 12:15 PM, Ralph Giles wrote:
> On 13-04-09 12:09 PM, Fredrik Håård wrote:
>
>> Also, how come utf-16 has special treatment?
>
> I expect it's needed for servo and the js engine bindings. Javascript
> uses utf-16 internally, like its namesake.

I added it for interop with win32, which takes UTF-16 in its 
unicode-aware APIs.

-Graydon



More information about the Rust-dev mailing list