Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Whether 'use utf8;' is good style

by ikegami (Pope)
on Dec 19, 2012 at 12:40 UTC ( #1009555=note: print w/ replies, xml ) Need Help??


in reply to Whether 'use utf8;' is good style

It's not a style issue. use utf8; tells Perl the file is encoded using UTF-8. If the file is encoded using UTF-8, use use utf8;. If your source code is encoded using US-ASCII or iso-8859-1, don't use use utf8;. It's that simple.

(Whether you encode your file using UTF-8 or not would be a style issue, but I don't see any real difference.)


Comment on Re: Whether 'use utf8;' is good style
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (21)
As of 2015-07-01 15:38 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 (6 votes), past polls