Bug#410083: perl: cpan should use locales at run time for output
Niko Tyni
ntyni at debian.org
Tue Nov 9 12:33:53 UTC 2010
tag 410083 upstream confirmed
thanks
On Wed, Feb 07, 2007 at 04:42:17PM +0100, Vincent Lefevre wrote:
> Package: perl
> Version: 5.8.8-7
> Severity: minor
>
> When running cpan for the first time, one gets a series of questions,
> in particular:
> Your terminal expects ISO-8859-1 (yes/no)? [yes]
>
> However the user may want to use several locales (e.g. an ISO-8859-1
> terminal and later, a UTF-8 terminal). An encoding fixed in some config
> file will lead to a buggy behavior in this case. The correct way to do
> is to use the locales to determine the output encoding (at run time).
Upstream is aware of this. Since 5.10.0 or so, the corresponding variable
has been deprecated with this note in the documentation:
Note: this config variable is deprecated and will be removed in a
future version of CPAN.pm. It will be replaced with the conventions
around the family of $LANG and $LC_* environment variables.
--
Niko Tyni ntyni at debian.org
More information about the Perl-maintainers
mailing list