|
|
| No such thing as a small change | |
| PerlMonks |
Re: Whether 'use utf8;' is good styleby ikegami (Pope) |
| on Dec 19, 2012 at 12:40 UTC ( #1009555=note: print w/ replies, xml ) | Need Help?? |
|
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.)
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||