[Haskell-cafe] Re: PROPOSAL: New efficient Unicode string library.
Aaron Denney
wnoise at ofb.net
Wed Sep 26 14:05:49 EDT 2007
On 2007-09-26, Johan Tibell <johan.tibell at gmail.com> wrote:
> 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.
Right. I was trying to say "other languages internal representations
shouldn't affect the choice of those doing a Haskell implementation."
--
Aaron Denney
-><-
More information about the Haskell-Cafe
mailing list