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:
> 
>       [EMAIL PROTECTED]:~$ perl -e'binmode(STDOUT, ":utf8"); print 
> chr(0x263a)'
> 
> I get garbage, not a smiley face, i.e.:
> 
> ΓΆΒΊ
> 
> My environment is:
...
> LC_ALL=en_US
...
> LANG=EN_US.UTF8
...
> LANGUAGE=en_US.UTF-8

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?)

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

Attachment: signature.asc
Description: Digital signature

Reply via email to