Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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


Comment on Re^2: Pragma to handle unicode characters
Download Code
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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://732001]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2014-09-21 10:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (168 votes), past polls