Package: locales
Version: 2.3.6-15
Severity: important
Tags: l10n
I am developing an app in perl which should handle numeric values
depending on the locale. I read the perllocale value, and ran the
sample programm from there:
#!/usr/bin/perl
use POSIX qw(locale_h);
# Get a reference to a hash of locale-dependent info
$locale_values = localeconv();
# Output sorted list of the values
for (sort keys %$locale_values) {
printf %-20s = %s\n, $_, $locale_values-{$_}
}
I tried it in [EMAIL PROTECTED], as well as in de_DE, I set LANG, LC_ALL,
LC_NUMERIC, but I always get the following output for
decimal_point = .
The decimal point in the german locale is ,, as is correctly set in
mon_decimal_point= ,
Entering numerical values in my locale is quite important, especially
since the key in the numeric keypad is mapped to ,.
I don't know where the error comes from, but as the perllocale man
page clearly states, that brokeness (if present) comes from the
locales package, I report it here. If it is indeed a perl bug, please
reassign.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.6-grsec-cz03
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages locales depends on:
ii debconf [debconf-2.0] 1.5.2 Debian configuration management sy
ii libc6 [glibc-2.3.6-2] 2.3.6-15 GNU C Library: Shared libraries
locales recommends no packages.
-- debconf information:
* locales/default_environment_locale: [EMAIL PROTECTED]
* locales/locales_to_be_generated: [EMAIL PROTECTED] ISO-8859-15, de_DE
ISO-8859-1, [EMAIL PROTECTED] UTF-8, de_DE.UTF-8 UTF-8, en_GB ISO-8859-1,
en_GB.ISO-8859-15 ISO-8859-15, en_GB.UTF-8 UTF-8, [EMAIL PROTECTED]
ISO-8859-15, en_IE ISO-8859-1, [EMAIL PROTECTED] UTF-8, en_IE.UTF-8 UTF-8,
[EMAIL PROTECTED] ISO-8859-15, pl_PL ISO-8859-2
--
Dr. Helge Kreutzmann [EMAIL PROTECTED]
Dipl.-Phys. http://www.helgefjell.de/debian.php
64bit GNU powered gpg signed mail preferred
Help keep free software libre: http://www.ffii.de/
signature.asc
Description: Digital signature