Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: any use of 'use locale'? (source encoding)

by ikegami (Pope)
on Nov 20, 2009 at 17:48 UTC ( #808488=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use locale;
    print uc("abc"), "\n";
    
  2. or download this
    # Source is UTF-8
    use utf8;
    
    # Appropriate de/encode data going through STDIN/OUT/ERR.
    use open ':std', ':locale';
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (14)
As of 2015-07-29 18:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (267 votes), past polls