On Mon, 23 Jun 2003 10:36:40 +0100
Nick Ing-Simmons <[EMAIL PROTECTED]> wrote:

> Jarkko Hietaniemi <[EMAIL PROTECTED]> 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 ?

PODs for EBCDIC platforms like perlos390.pod, or perlvmesa.pod
says that a tar archive is extracted
as the encoding is supposed to be in ASCII/ISO-8859-1.

If so, a UTF-8 file with <use utf8;> should be converted into
something broken, that is neither UTF-8 nor UTF-EBCDIC...
Does it mean that <use utf8;> is less portable
(at least for EBCDIC platforms)?

> >> /Daniel
> -- 
> Nick Ing-Simmons
> http://www.ni-s.u-net.com/

SADAHIRO Tomoyuki

Reply via email to