On Mon, Feb 14, 2011 at 03:57:44PM -0600, Ron Johnson wrote: > It doesn't seem to work for me. [...] > $ LC_CTYPE=en_GB.utf-8 python -c 'print u"\u00a3"' > Traceback (most recent call last): > File "<string>", line 1, in <module> > UnicodeEncodeError: 'ascii' codec can't encode character u'\xa3' in > position 0: ordinal not in range(128) [...] > $ LC_CTYPE=en_GB.utf-8 perl -e 'print "\x{00a3}\n";' > perl: warning: Setting locale failed. > perl: warning: Please check that your locale settings: > LANGUAGE = (unset), > LC_ALL = (unset), > LC_CTYPE = "en_GB.utf-8", > LANG = "en_US.UTF-8" > are supported and installed on your system. > perl: warning: Falling back to the standard locale ("C"). [...]
You probably don't have an en_GB.utf-8 locale (maybe you have localepurge installed?). I bet en_US.utf-8 will net you different results. -- { IRL(Jeremy_Stanley); WWW(http://fungi.yuggoth.org/); PGP(43495829); WHOIS(STANL3-ARIN); SMTP(fu...@yuggoth.org); FINGER(fu...@yuggoth.org); MUD(kin...@katarsis.mudpy.org:6669); IRC(fu...@irc.yuggoth.org#ccl); ICQ(114362511); YAHOO(crawlingchaoslabs); AIM(dreadazathoth); } -- 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/20110214222615.gd1...@yuggoth.org