Package: rxvt-unicode Version: 9.06-2 Severity: important Tags: patch l10n
-- System Information: Debian Release: squeeze/sid APT prefers oldstable APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.29-2-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages rxvt-unicode depends on: ii base-passwd 3.5.19 Debian base system master password ii libafterimage0 2.2.9-4 imaging library designed for After ii libc6 2.9-4 GNU C Library: Shared libraries ii libcairo2 1.8.8-2 The Cairo 2D vector graphics libra ii libfontconfig1 2.6.0-3 generic font configuration library ii libfreetype6 2.3.7-2 FreeType 2 font engine, shared lib ii libgcc1 1:4.4.2-3 GCC support library ii libglib2.0-0 2.22.2-2 The GLib library of C routines ii libgtk2.0-0 2.18.3-1 The GTK+ graphical user interface ii libice6 2:1.0.4-1 X11 Inter-Client Exchange library ii libjpeg62 6b-14 The Independent JPEG Group's JPEG ii libperl5.10 5.10.1-8 shared Perl library ii libpng12-0 1.2.27-2 PNG library - runtime ii librsvg2-2 2.26.0-1 SAX-based renderer library for SVG ii libsm6 2:1.0.3-2 X11 Session Management library ii libtiff4 3.8.2-11 Tag Image File Format (TIFF) libra ii libx11-6 2:1.2.2-1 X11 client-side library ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar ii libxft2 2.1.12-3 FreeType-based font drawing librar ii libxrender1 1:0.9.4-2 X Rendering Extension client libra ii ncurses-base 5.7+20081129-1 basic terminal type definitions ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime rxvt-unicode recommends no packages. Versions of packages rxvt-unicode suggests: ii ttf-dejavu 2.25-3 Metapackage to pull in ttf-dejavu- The following is quick-fix for UTF-8 locale. Yes, I know this is just a hack. Fully resolve this bug requires re-encode the meta-ed key keycode under the current locale, which is out of my depth as there are so many different encodings out there. However, this patch precisely pointed out where the question is. Hope it helps. --- command.C 2008-11-09 07:27:30.000000000 +0800 +++ command.C.new 2009-11-30 00:05:55.631789744 +0800 @@ -802,8 +802,21 @@ { char *ch; - for (ch = kbuf; ch < kbuf + len; ch++) - *ch |= 0x80; + for (ch = kbuf; ch < kbuf + len; ch++) { + /* UTF-8 encoding */ + char byte2 = 0x80 | (*ch & 0x3f); + *ch = 0xC0 | (0x80 >> 6) | ((*ch >> 6) & 0x03); + ch ++; + + char * current = NULL; + char * last = kbuf + len; + for (current=last; current > ch; current--) { + *current = *(current-1); + } + + len ++; + *ch = byte2; + } meta = 0; } I apologies if this is a duplicate. As this is the first time that I used reportbug while I don't have sendmail or like installed. So I'm not sure whether reportbug just generate a copy of the mail or it has already send it. Thus I [re]send to make sure the bug is actually reported. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org