Bug#464977: libc6: iconv drops the last character in a windows-1255 string if it's non ascii
Package: libc6
Version: 2.7-6
Severity: important
a valid windows-1255 string is translated to utf-8 by droping it's last char.
it happens only if that last char is non-ascii itself.
for example, "\xe1\xe2\xe3". it translates to a 2 characters long string.
it doesn't happen with other windows-* codepages, neither with the similar
iso-8859-8 equivalent.
this is probably an upstream bug, but i report it here not to polute the
upstream mailing list with not generally attending people. but i know
debian maintainers are there :) .
best regards,
alex
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libc6 depends on:
ii libgcc1 1:4.3-20080116-1 GCC support library
libc6 recommends no packages.
-- debconf information:
glibc/restart-failed:
glibc/restart-services:
Reply to: