Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Pragma to handle unicode characters

by wanradt (Scribe)
on Dec 22, 2008 at 09:01 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2024-04-25 08:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found