[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: Python (was: Make Unicode bugs release critical?)

On Mon, 14 Feb 2011 16:43:11 +0000
Ian Jackson <ijackson@chiark.greenend.org.uk> wrote:

> Klaus Ethgen writes ("Re: OT: Python (was: Make Unicode bugs release
> critical?)"):
> > No, it is not. 00a3 is just not a utf-8 character, it is unicode.
> > To get a correct utf-8 character you need to print \x{c2a3} and
> > then isutf8 is happy.
> 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.

By the way,

$ LC_CTYPE=en_GB.utf-8 echo 'puts \x00a3\n'|tclsh|isutf8
$ LC_CTYPE=en_GB.utf-8 echo 'puts \x00a3\n'|tclsh|xxd -p

But RMS told the world not to use Tcl.

Reply to: