<div dir="ltr">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.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 25, 2014 at 1:54 AM, Travis Cardwell <span dir="ltr"><<a href="mailto:travis.cardwell@extellisys.com" target="_blank">travis.cardwell@extellisys.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 2014年04月25日 15:34, Niklas Haas wrote:<br>
> FWIW, python's support for Unicode in its standard library is<br>
> significantly better than Haskell's. Haskell fails on basic functions<br>
> such as ‘toUpper’, ‘length’ or ‘==’.<br>
<br>
</div>I have to humbly disagree.  Python does indeed have great Unicode support,<br>
but using Unicode for everything is not efficient in cases where it is not<br>
needed.  With Haskell, one can use bytestring [1] and text [2] as<br>
necessary to have more control over how content is processed.  Both<br>
packages are in Haskell Platform, the equivalent of Python's standard library.<br>
<br>
Cheers,<br>
<br>
Travis<br>
<br>
----<br>
<br>
[1] <a href="http://hackage.haskell.org/package/bytestring" target="_blank">http://hackage.haskell.org/package/bytestring</a><br>
[2] <a href="http://hackage.haskell.org/package/text" target="_blank">http://hackage.haskell.org/package/text</a><br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</div></div></blockquote></div><br></div>