[Haskell-cafe] Re: String vs ByteString

Kevin Jardine kevinjardine at gmail.com
Sat Aug 14 01:29:55 EDT 2010


On Aug 14, 2:41 am, Brandon S Allbery KF8NH <allb... at ece.cmu.edu>
wrote:

> Efficient for what?  The most efficient Unicode representation for
> Latin-derived strings is UTF-8, but the most efficient for CJK is UTF-16.

I think that this kind of programming detail should be handled
internally (even if necessary by switching automatically from UTF-8 to
UTF-16 depending upon the language).

I'm using Haskell so that I can write high level code. In my view I
should not have to care if the people using my application write in
Farsi, Quechua or Tamil.

Kevin


More information about the Haskell-Cafe mailing list