Jarkko Hietaniemi <jhi(_at_)iki(_dot_)fi> writes:
use utf8;
if ( $] >= 5.007 ) {
binmode (STDOUT, ":utf8");
}
It would be nice if "use utf8" set IO modes for utf8 automagically.
Perhaps a pragma could be passed such as: use utf8 ':all' (or something),
that set everything to utf8 that is settable.
And fixing that in Perl 5.8.1 would help Perl 5.8.0 how? :-)
But more seriously, the "use utf8" is "an evolutionary dead end".
The only thing it means these days is "my script is in UTF-8".
And even that is a potential dead-end - scripts in other encodings
don't have a unique pragma so why does UTF-8 ?
For "all the other" things, I think there can't ever be a consensus
for "all those things", since there are so many of such things.
Better be very explicit about the things you want to "UTF-8-ize".
cheers,
/Daniel
--
Nick Ing-Simmons
http://www.ni-s.u-net.com/