Marc Haber
2005-Oct-08 17:33 UTC
Bug#178482: with UTF-8 locales, recodes non-ascii chars in user messages TWICE
user adduser@packages.debian.org usertag #178482 feedback-needed tags #178482 moreinfo thanks On Sun, Jan 26, 2003 at 04:31:53PM +0100, Eduard Bloch wrote:> F????ge Benutzer boehmann in Gruppe uucp hinzu... > Fertig. > > It seems that the string is already in UTF-8, and then somewhere > interpreted as Latin1 and recoded again and we see four bytes.[1/501]mh@lefler[chroot sid-adduser]:~$ export LANG=de_DE.UTF-8 [2/502]mh@lefler[chroot sid-adduser]:~$ export LC_CTYPE=de_DE.UTF-8 [5/505]mh@lefler[chroot sid-adduser]:~$ sudo adduser mh uucp > file.bla [6/506]mh@lefler[chroot sid-adduser]:~$ cat file.bla Füge Benutzer mh in Gruppe uucp hinzu... Fertig. [7/507]mh@lefler[chroot sid-adduser]:~$ logout [16/515]mh@lefler:~/chroot$ cd sid-adduser [17/516]mh@lefler:~/chroot/sid-adduser/home/mh$ ls Makefile adduser/ devel/ file.bla [18/517]mh@lefler:~/chroot/sid-adduser/home/mh$ hexadump file.bla 00000000 46 c3 bc 67 65 20 42 65 6e 75 74 7a 65 72 20 6d Füge Benutzer m 00000010 68 20 69 6e 20 47 72 75 70 70 65 20 75 75 63 70 h in Gruppe uucp 00000020 20 68 69 6e 7a 75 2e 2e 2e 0a 46 65 72 74 69 67 hinzu....Fertig 00000030 2e 0a .. I do not have a clue about UTF-8, but this looks like only two bytes were printed. Can you please check if this bug still applies after two and a half years? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
Debian Bug Tracking System
2005-Oct-09 09:18 UTC
[Adduser-devel] Processed: Re: Bug#178482: with UTF-8 locales, recodes non-ascii chars in user messages TWICE
Processing commands for control@bugs.debian.org:> user adduser@packages.debian.orgSetting user to adduser@packages.debian.org (was mh+debian-packages@zugschlus.de).> usertag #178482 feedback-neededThere were no usertags set. Usertags are now: feedback-needed.> tags #178482 moreinfoBug#178482: with UTF-8 locales, recodes non-ascii chars in user messages TWICE There were no tags set. Tags added: moreinfo> thanksStopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database)