Edmund GRIMLEY EVANS wrote on 2004-02-02 09:00 UTC:
> Markus Kuhn <[EMAIL PROTECTED]>:
> >  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.

Here is my old bug report:

[EMAIL PROTECTED] wrote around 2003-02 on [EMAIL PROTECTED]:
> $ perl -e '$x = "\x{2019}\nk"; $x =~ s/(\S)\n(\S)/$1 $2/sg; print "$x\n";'
> '    <= this denotes a \x{2019} followed by \n
> k $ perl -e
>
> $ perl -e '$x = "b\nk"; $x =~ s/(\S)\n(\S)/$1 $2/sg; print "$x\n";'
> b k 
> 
> [snip]
>
> $ perl -e 'print (("\x{2019}" =~ /\S/) . "\n");'
> 1

Markus

-- 
Markus Kuhn, Computer Lab, Univ of Cambridge, GB
http://www.cl.cam.ac.uk/~mgk25/ | __oo_O..O_oo__


--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to