[Haskell-cafe] Sugestion for a basic Utf8 type.
Bayley, Alistair
Alistair.Bayley at invesco.com
Tue Dec 2 08:32:15 EST 2008
> From: haskell-cafe-bounces at haskell.org
> [mailto:haskell-cafe-bounces at haskell.org] On Behalf Of Mauricio
>
> I would like to sugest a new basic type in Haskell. What if we had
> something like this (with any other quoting character):
>
> «Je ne parle pas français. Meu nome é Maurício. ¿Hablas español?»
>
> This would be of type Utf8. I think now it is not a bad idea,
> since Haskell source code is supposed to be utf-8. The internal
> representation of this datatype would be a null terminated utf-8
> byte vector. ...
Stream fusion on Haskell Unicode strings - Tom Harper
http://www.wellquite.org/non-blog/AngloHaskell2008/tom%20harper.pdf
I don't know what it's status is. The original implementation used UTF16 rather than UTF8.
Alistair
*****************************************************************
Confidentiality Note: The information contained in this message,
and any attachments, may contain confidential and/or privileged
material. It is intended solely for the person(s) or entity to
which it is addressed. Any review, retransmission, dissemination,
or taking of any action in reliance upon this information by
persons or entities other than the intended recipient(s) is
prohibited. If you received this in error, please contact the
sender and delete the material from any computer.
*****************************************************************
More information about the Haskell-Cafe
mailing list