[Haskell-cafe] Re: PROPOSAL: New efficient Unicode string library.

Johan Tibell johan.tibell at gmail.com
Wed Sep 26 06:15:02 EDT 2007


On 9/26/07, Aaron Denney <wnoise at ofb.net> wrote:
> On 2007-09-26, Johan Tibell <johan.tibell at gmail.com> wrote:
> > If UTF-16 is what's used by everyone else (how about Java? Python?) I
> > think that's a strong reason to use it. I don't know Unicode well
> > enough to say otherwise.
>
> The internal representations don't matter except in the case of making
> FFI linkages.  The external representations do, and UTF-8 has won on
> that front.

It could matter for performance. However, you can encode your
UnicodeString into any external representation you want for your I/O
needs, including UTF-8.


More information about the Haskell-Cafe mailing list