Re: OT: Python (was: Make Unicode bugs release critical?)
On 2011-02-16 01:34:51 +0100, Adam Borowski wrote:
> On Wed, Feb 16, 2011 at 01:01:07AM +0100, Vincent Lefevre wrote:
> > On 2011-02-14 16:43:11 +0000, Ian Jackson wrote:
> > > When LC_CTYPE=en_GB.utf-8, programs which attempt to print unicode
> > > characters to stdout should use UTF-8. That's what LC_TYPE means.
> > So, "cat", "grep", etc. are all broken. :)
> How come?
> "cat" will, for any valid UTF-8 character on input, print a valid UTF-8
> character on output. For any valid ISO-8859-1 character on input, it will
> print a valid ISO-8859-1 character on output.
I was just commenting what Ian said. If there is a valid reason for
which "cat" may not produce UTF-8 in UTF-8 locales, this is also
true for "perl" or any other software.
Vincent Lefèvre <email@example.com> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)