Package: binutils
Version: 2.17-1
Severity: minor
Tags: l10n

        Hello,

On a seemingly pseudo-random (!) basis, ld will fail to convert
non-ASCII characters from localized error messages as dcgettext()
normally does, resulting in unprintable characters. In my case, the
French messages are used, sometimes print with proper conversion to
UTF-8, sometimes outputed as ISO-8859-1 (which is the charset of the
fr.po file).

Output of locale is as follows:

# locale
LANG=fr_FR.UTF-8
LANGUAGE=fr_FR.UTF-8:en_GB.UTF-8:en_US.UTF-8
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=

Any other program have their output properly converted to UTF-8 before
being printed on the console, AFAICT.

To reproduce the problem, one can try to link a program with undefined
symbols, with LANG=fr_FR.UTF-8 on a UTF-8 term.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17.4
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages binutils depends on:
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries

binutils recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to