Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^5: Whether 'use utf8;' is good style

by chromatic (Archbishop)
on Dec 18, 2012 at 22:23 UTC ( #1009457=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Whether 'use utf8;' is good style
in thread Whether 'use utf8;' is good style

Quite the contrary. If you have literal strings you intend for Perl to deal with in the UTF-8 encoding, you'd better use that pragma.

If you're not explicit about Unicode and encodings, you're going to make a mess for other people to deal with. If you put UTF-8 in literals in your programs and don't use the utf8 pragma, you've acted irresponsibly.


Comment on Re^5: Whether 'use utf8;' is good style

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (18)
As of 2015-07-01 19:29 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 (17 votes), past polls