Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^2: Pragma to handle unicode characters

by wanradt (Scribe)
on Dec 22, 2008 at 09:01 UTC ( #732001=note: print w/replies, xml ) Need Help??

in reply to Re: Pragma to handle unicode characters
in thread Pragma to handle unicode characters

Have you tried the -C option or, equivalently, the PERL_UNICODE environment variable?
No, i was not, now i tried and it helped me. After setting PERL_UNICODE=39 i still (just) need set in my script
use utf8; use open ':std', ':encoding(UTF-8)';
Thank you, it anwers my first question!

It still does not affect @ENV variables, as applied fellow Almut.
Nġnda, WK

Replies are listed 'Best First'.
Re^3: Pragma to handle unicode characters
by Anonymous Monk on Dec 22, 2008 at 16:21 UTC
    You might want to try PERL_UNICODE=63. I think that will let you drop the 'use open' line.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://732001]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2017-12-16 17:34 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (457 votes). Check out past polls.