On Mon, 14 Feb 2011 16:43:11 +0000 Ian Jackson <ijack...@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 c2a30a0a $ But RMS told the world not to use Tcl. -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110214203601.715df57c.kos...@domain007.com