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

Re: trying to get unicode to work in perl

On Tue, Aug 07, 2007 at 03:01:04PM -0700, tom arnall wrote:
> I'm trying to get unicode to work in perl. When I do the 'textbook' example:
> 	kloro@debian:~$ perl -e'binmode(STDOUT, ":utf8"); print chr(0x263a)'
> I get garbage, not a smiley face, i.e.:
> âº
> My environment is:
> LC_ALL=en_US

Did you set LC_ALL? It is not set by default (at least not on my 
system). What is the output of locale (and why is your kmail sending 
ISO-8852-1 mails?)

If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

Attachment: signature.asc
Description: Digital signature

Reply to: