[Haskell-cafe] Unicode Haskell source -- Yippie!
Christopher Allen
cma at bitemyapp.com
Fri Apr 25 07:25:17 UTC 2014
I'm going to disagree for a different reason. The transition to Python 3
improved unicode support in some respects, but utterly gutted the
previously excellent codec support. Now you can't really handle arbitrary
source/destination encodings of text without treating everything as if they
were bytes. Really bad.
On Fri, Apr 25, 2014 at 1:54 AM, Travis Cardwell <
travis.cardwell at extellisys.com> wrote:
> On 2014年04月25日 15:34, Niklas Haas wrote:
> > FWIW, python's support for Unicode in its standard library is
> > significantly better than Haskell's. Haskell fails on basic functions
> > such as ‘toUpper’, ‘length’ or ‘==’.
>
> I have to humbly disagree. Python does indeed have great Unicode support,
> but using Unicode for everything is not efficient in cases where it is not
> needed. With Haskell, one can use bytestring [1] and text [2] as
> necessary to have more control over how content is processed. Both
> packages are in Haskell Platform, the equivalent of Python's standard
> library.
>
> Cheers,
>
> Travis
>
> ----
>
> [1] http://hackage.haskell.org/package/bytestring
> [2] http://hackage.haskell.org/package/text
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140425/1c24e916/attachment.html>
More information about the Haskell-Cafe
mailing list