Markus Kuhn <[EMAIL PROTECTED]>:
> Perl Unicode support before 5.8.0 was experimental, incomplete and in
> practice not useable. Perl 5.8.0 worked pretty smoothly for me, I
> discovered in my own use only one single UTF-8-related bug to do with
> regular expressions, and that was fixed in 5.8.1.
I happen to have 5.8.0 on machines at work, so I'd be interested to
know that that bug is.
> I had a lot of Perl 5.0 script that processed UTF-8 before there was any
> UTF-8 support in Perl. They continue to work with "use byte;" added, but
> they got significantly simpler by using Perls Unicode facilities.
I've never found "use byte;" or "no utf8;" helps much: my old scripts
containing regular expressions with UTF-8 characters in them still
break with newer versions of perl. The thing I end up adding to my old
scripts is "binmode(STDIN, ':crlf);".
Question: How can I ensure the files opened by "while (<>) { ... }"
have binmode applied to them?
Edmund
--
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/