[Haskell-cafe] Unicode Haskell source -- Yippie!
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  and text  as
> necessary to have more control over how content is processed. Both
> packages are in Haskell Platform, the equivalent of Python's standard
>  http://hackage.haskell.org/package/bytestring
>  http://hackage.haskell.org/package/text
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe