[Israel.pm] unicode characters in your code

Shlomo Yona shlomo at cs.haifa.ac.il
Sat Mar 13 21:59:05 PST 2004


On Sun, 14 Mar 2004, Mikhael Goikhman wrote:

[...]

>   % env LANG=he_IL.utf8 perl5.8.1 -Mutf8 test.pl
>   Wide character in print at aaa line 5.
>   (2 bytes printed)
> 
>   % env LANG=he_IL.utf8 perl5.8.1 -Mutf8 -CO test.pl
>   (2 bytes printed)         # no warning
> 
>   % env LANG=he_IL.utf8 perl5.8.1 test.pl
>   (1 byte printed)
> 
>   % env LANG=he_IL.utf8 perl5.8.0 test.pl
>   (2 bytes printed)         # see the difference?

That's interesting and very non consistant behaviour.
Any ideas how this is intended to converge in future
versions of Perl?

-- 
Shlomo Yona
shlomo at cs.haifa.ac.il
http://cs.haifa.ac.il/~shlomo/




More information about the Perl mailing list