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

Hi chromatic,

does that mean you suggest avoiding use utf8; in public packages?

Best regards
McA

Replies are listed 'Best First'.
Re^5: Whether 'use utf8;' is good style
by chromatic (Archbishop) on Dec 18, 2012 at 22:23 UTC

    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.