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

Stefan O'Rear stefanor at cox.net
Tue Oct 2 17:32:38 EDT 2007

On Tue, Oct 02, 2007 at 11:05:38PM +0200, Johan Tibell wrote:
> > I do not believe that anyone was seriously advocating multiple blessed
> > encodings.  The main question is *which* encoding to bless.  99+% of
> > text I encounter is in US-ASCII, so I would favor UTF-8.  Why is UTF-16
> > better for me?
> All software I write professional have to support 40 languages
> (including CJK ones) so I would prefer UTF-16 in case I could use
> Haskell at work some day in the future. I dunno that who uses what
> encoding the most is good grounds to pick encoding though. Ease of
> implementation and speed on some representative sample set of text may
> be.

UTF-8 supports CJK languages too.  The only question is efficiency, and
I believe CJK is still a relatively uncommon case compared to English
and other Latin-alphabet languages.  (That said, I live in a country all
of whose dominant languages use the Latin alphabet)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20071002/08c6b412/attachment.bin

More information about the Haskell-Cafe mailing list