Package: nano Version: 1.2.4-5 Severity: normal Basically for the records as I fear this cannot be cured:
Using nano in Debian stable after enabling utf-8 I found that I can type and see lowercase umlauts quite well while uppercase prints garbage. strace helped to locate the problem (several lines striped) 1. Entering lowercase a umlaut ä = codepoint \x00e4 = utf-8: \xc3 \xa4 = \303\244 read(0, "\303", 1) = 1 write(1, "\303", 1) = 1 read(0, "\244", 1) = 1 write(1, "\244", 1) = 1 2. Entering uppercase A umlaut Ä = codepoint \x00c4 = utf-8: \xc3 \x84 = \303\204 read(0, "\303", 1) = 1 write(1, "\303", 1) = 1 read(0, "\204", 1) = 1 write(1, "^\304", 2) = 2 ^^^^^ That's somewhat funny: \x84 is considered a control character and thus replaced by its value+64 and preceeded by a mark. This completes messes utf-8 since the two-character-sequence gets broken. While such an approach works quite well in iso-8859-x it should already cause trouble in KOI8-R since the \x80-\x9f positions are printable characters in that table (see RfC 1489). Unfortunately, cleaning up is_cntrl_char in utils.c is not enough as there's appearently another escaping within slang that translates "\303\204" into "\303~D". I'll try to isolate this as a bug in slang1 if time permits. The whole problem went away in etch (currently 1.3.8-2) so probably the pressure to fix this in sarge is rather low. Those who want to backport and lose the Debian stable security: Download the etch version of dpkg, build it, install dpkg and dpkg-dev. Download and build slang2, install libslang2-dev. Then the build dependencies for nano are met. The resulting nano_*.deb can be installed on any sarge system, no hassle with dependencies. -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.6.14 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=UTF-8) Versions of packages nano depends on: ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libncurses5 5.4-4 Shared libraries for terminal hand -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]