Re: trying to get unicode to work in perl

2007-08-09 Thread Andrei Popescu
On Wed, Aug 08, 2007 at 12:42:23PM -0700, tom arnall wrote: > > 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 > > 'env' gives: > > [EMAIL PROTECTED

Re: trying to get unicode to work in perl

2007-08-08 Thread tom arnall
On Tuesday 07 August 2007 23:16, Andrei Popescu wrote: > 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'

Re: trying to get unicode to work in perl

2007-08-07 Thread Andrei Popescu
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

trying to get unicode to work in perl

2007-08-07 Thread tom arnall
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: [EMAIL PROTECTED]:~$ env SSH_AGENT_