-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Am Mo den 14. Feb 2011 um 16:24 schrieb Ian Jackson: > Jakub Wilk writes ("Re: OT: Python (was: Make Unicode bugs release > critical?)"): > > * Klaus Ethgen <kl...@ethgen.de>, 2011-02-14, 14:37: > > >~> LC_CTYPE=en_GB.utf-8 perl -e 'print "\x{00a3}\n";' > > >~> LC_CTYPE=en_GB.utf-8 perl -e 'print "\x{00a3}\n";' | cat > > > > Let me try... > > > > $ LC_CTYPE=en_GB.utf-8 perl -e 'print "\x{00a3}\n";' | isutf8 > > stdin: line 1, char 1, byte offset 1: invalid UTF-8 code > > WTF. OK, Perl's out too.
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. > We'll have to write everything in dash :-). lisp. :-) But now we get complete out of topic. Regards Klaus - -- Klaus Ethgen http://www.ethgen.ch/ pub 2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <kl...@ethgen.de> Fingerprint: D7 67 71 C4 99 A6 D4 FE EA 40 30 57 3C 88 26 2B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQEVAwUBTVlWk5+OKpjRpO3lAQohXgf9FC839X5Pozj2LZUJKd+X9Bcy5F/q+zWg cdPlFkRL2BSq05M4+V8anb6vP47JdMMJfgc1oszNWZkYOQkgZdTy1GdCVF9o0jpD xSlA7MVBt7ijTtfOlodzZiO6PyXPx7vo6AJGUufwb4KxekLR6vKq9fzlTLvvD/mH lPPbCuZrY90eWqRjFeLyXA6Cmx+cJG5jt8nAAOzBjWTuENNp+vTFx1Lad13que7T AAXrQupjCpRwAxfN8cuYMMIAFw5FCOyTQNAZXaAeMV1UOslVVdXlffUDB6uqpNvC JPPL9PhughLVWtSxsm74emFCVkBQ75xTGMJTbCUCfMmdwTj3mD7uLw== =J1JB -----END PGP SIGNATURE----- -- 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/20110214162139.gf6...@ikki.ethgen.ch