Bug#515911: There are incorrect utf-8 strings in localized error messages.
Dmitry E. Oboukhov
unera at debian.org
Wed Feb 18 10:47:51 UTC 2009
Package: perl
Severity: important
Tags: l10n
Version: 5.10.0-19
If a perl-script uses the pragmas: "use utf8" and
"use open qw(:std :utf8)", then in case of system
error the message "$!" is not a utf8-string.
attache has example of script
result of test:
apache:[~]$ perl test.pl
Non-change error: ÐÐµÑ Ñакого Ñайла или каÑалога
Decoded error: Нет такого файла или каталога
apache:[~]$ locale
LANG=ru_RU.UTF-8
LC_CTYPE="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_MESSAGES="ru_RU.UTF-8"
LC_PAPER="ru_RU.UTF-8"
LC_NAME="ru_RU.UTF-8"
LC_ADDRESS="ru_RU.UTF-8"
LC_TELEPHONE="ru_RU.UTF-8"
LC_MEASUREMENT="ru_RU.UTF-8"
LC_IDENTIFICATION="ru_RU.UTF-8"
LC_ALL=
--
... mpd is off
. ''`. Dmitry E. Oboukhov
: :’ : email: unera at debian.org jabber://UNera@uvw.ru
`. `~’ GPGKey: 1024D / F8E26537 2006-11-21
`- 1B23 D4F8 8EC0 D902 0555 E438 AB8C 00CF F8E2 6537
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.pl
Type: text/x-perl
Size: 325 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20090218/2b92efab/attachment.pl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20090218/2b92efab/attachment.pgp
More information about the Perl-maintainers
mailing list