in reply to use encoding 'utf8' and AutoLoader
I would recommend switching from "use encoding 'utf8'" to "use utf8;". *) since it's
a) lexically scoped (instead of script-scoped) which makes a lot more sense. *)
b) doesn't appear to have some of the bugs that encoding has that I've seen on this site.
*) update: this means that you must use utf8; in all source files that are utf-8 encoded, which may be annoying. Perl core- and CPAN modules are usually 7-bit ASCII (or if they're utf-8 encoded they should use utf8), so it should only affect your own modules.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: use encoding 'utf8' and AutoLoader
by tinita (Parson) on Oct 03, 2007 at 18:13 UTC |