Eric Wilhelm <[EMAIL PROTECTED]> writes:

>>Cute, but doesn't it break programs that already use non-ascii (e.g.,
>>Latin1)?
>
> How?

Because it's no different from the utf8 pragma:

  $ cat t.pl
  my $x = "ë";
  $ perl -w t.pl
  $ perl -Mutf8 -w t.pl
  Malformed UTF-8 character (unexpected continuation byte 0x81, with no 
preceding start byte) ...
  Malformed UTF-8 character (1 byte, need 3, after start byte 0xeb) ...

(Note that the content of the string in t.pl is a single character
0xeb, which is Latin-1 for e-diaeresis.)

-- Johan

Reply via email to