Re: trying to get unicode to work in perl

2007-08-09 Thread Mr. Shawn H. Corey
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.: ⺠What version of perl? (Enter `pe

trying to get unicode to work in perl

2007-08-09 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_