[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#647750: linux-source-2.6.32: keyboard.c: 8 bits diacritics are displayed as a 7 bits representation after a space

Package: linux-source-2.6.32
Version: 2.6.32-35squeeze2
Severity: normal

  Diacritics, that are 8 bits (accent (´, 0xB4), dieresis (¨,
0xA8), cedilla (¸, 0xB8)), are displayed as their 7 bits
representation ('",) if a space is input after them.

  In the subroutine "handle_diacr" in "drivers/char/keyboard.c" is:

	if ((d & ~0xff) == BRL_UC_ROW) {
		if ((ch & ~0xff) == BRL_UC_ROW)
			return d | ch;
	} else {
		for (i = 0; i < accent_table_size; i++)
			if (accent_table[i].diacr == d && accent_table[i].base == ch)
				return accent_table[i].result;

	if (ch == ' ' || ch == (BRL_UC_ROW|0) || ch == d)
		return d;

  Thus after space, the "d" (in the accent_table; compose part)
is returned instead of the real (8 bit) character.

-- System Information:
Debian Release: 6.0.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i586)

Kernel: Linux 2.6.32-35squeeze2
Locale: LANG=is_IS, LC_CTYPE=is_IS (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages linux-source-2.6.32 depends on:
ii  binutils                      2.20.1-16  The GNU assembler, linker and bina
ii  bzip2                         1.0.5-6    high-quality block-sorting file co

Versions of packages linux-source-2.6.32 recommends:
ii  gcc                           4:4.4.5-1  The GNU C compiler
ii  libc6-dev [libc-dev]          2.11.2-10  Embedded GNU C Library: Developmen
ii  make                          3.81-8     An utility for Directing compilati

Versions of packages linux-source-2.6.32 suggests:
pn  kernel-package            <none>         (no description available)
ii  libncurses5-dev [ncurses- 5.7+20100313-5 developer's libraries and docs for
pn  libqt3-mt-dev             <none>         (no description available)

-- no debconf information

Bjarni I. Gislason

Reply to: