Package: perl-base
Version: 5.8.4-8
Severity: normal

I noticed the following behaviour (all strings are utf8 encoded):

> [EMAIL PROTECTED]:~$ perl -e 'use encoding "utf8"; $bla="abcdÃlfg"; 
> $bla=~s/abcdÃ/xyz/; print $bla, "\n";'
> xyzÃlfg

Obviously, the à should also have been replaced. 
It works fine if the 'use encoding "utf8"' is removed.


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-ac6
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages perl-base depends on:
ii  libc6                       2.3.2.ds1-21 GNU C Library: Shared libraries an

-- no debconf information


Reply via email to