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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2017-07-23 07:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (345 votes). Check out past polls.