android_kernel_motorola_sm6225/drivers
Samuel Thibault 04c7197650 unicode diacritics support
There have been issues with non-latin1 diacritics and unicode.
http://bugzilla.kernel.org/show_bug.cgi?id=7746

Git 759448f459 `Kernel utf-8 handling'
partly resolved it by adding conversion between diacritics and
unicode. The patch below goes further by just turning diacritics into
unicode, hence providing better future support. The kbd support can be
fetched from
http://bugzilla.kernel.org/attachment.cgi?id=12313

This was tested in all of latin1, latin9, latin2 and unicode with french
and czech dead keys.

Turn the kernel accent_table into unicode, and extend ioctls KDGKBDIACR
and KDSKBDIACR into their equivalents KDGKBDIACRUC and KDSKBDIACR.

New function int conv_uni_to_8bit(u32 uni) for converting unicode into 8bit
_input_.  No, we don't want to store the translation, as it is potentially
sparse and large.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Cc: Jan Engelhardt <jengelh@gmx.de>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-17 08:42:52 -07:00
..
acorn/char unicode diacritics support 2007-10-17 08:42:52 -07:00
acpi more trivial signedness fixes in drivers 2007-10-14 12:41:52 -07:00
amba Driver core: change add_uevent_var to use a struct 2007-10-12 14:51:01 -07:00
ata Merge branch 'for-linus' of git://git.kernel.dk/data/git/linux-2.6-block 2007-10-16 10:09:16 -07:00
atm Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild 2007-10-16 11:23:06 -07:00
auxdisplay
base mm: add node states sysfs class attributeS 2007-10-16 09:43:03 -07:00
block aoe: remove unecessary wrapper function 2007-10-17 08:42:52 -07:00
bluetooth
cdrom
char unicode diacritics support 2007-10-17 08:42:52 -07:00
clocksource
connector
cpufreq Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6 2007-10-12 15:49:37 -07:00
crypto
dca I/OAT: Add DCA services 2007-10-16 09:43:09 -07:00
dio
dma Remove "unsafe" from module struct 2007-10-17 08:42:49 -07:00
edac Drivers: clean up direct setting of the name of a kset 2007-10-12 14:51:02 -07:00
eisa signedness: module_param_array nump argument 2007-10-14 12:41:52 -07:00
fc4 Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2007-10-15 08:19:33 -07:00
firewire firewire: fw-cdev: reorder wakeup vs. spinlock 2007-10-17 00:00:10 +02:00
firmware Driver core: rename ktype_edd and ktype_efivar 2007-10-12 14:51:12 -07:00
hid HID: fix HIDIOCGRDESC memory access in hidraw 2007-10-15 08:12:00 -07:00
hwmon Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2007-10-15 13:41:39 -07:00
i2c Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm 2007-10-15 16:08:50 -07:00
ide amd74xx: remove /proc/ide/amd74xx 2007-10-16 22:29:58 +02:00
ieee1394 ieee1394: ieee1394_core.c: use DEFINE_SPINLOCK for spinlock definition 2007-10-16 23:59:59 +02:00
infiniband infiniband: sg chaining support 2007-10-16 11:20:59 +02:00
input Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild 2007-10-16 11:23:06 -07:00
isdn isdn: guard against a potential NULL pointer dereference in old_capi_manufacturer() 2007-10-16 09:43:10 -07:00
kvm sched: guest CPU accounting: maintain guest state in KVM 2007-10-15 17:00:19 +02:00
leds Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild 2007-10-16 11:23:06 -07:00
lguest
macintosh fix adbhid mismerge 2007-10-16 19:04:49 -07:00
mca
md Fix memory leak in dm-crypt 2007-10-16 13:48:46 +02:00
media [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
message Merge branch 'for-linus' of git://git.kernel.dk/data/git/linux-2.6-block 2007-10-16 10:09:16 -07:00
mfd
misc Driver for the Atmel on-chip SSC on AT32AP and AT91 2007-10-17 08:42:47 -07:00
mmc missing include in mmc 2007-10-16 19:05:30 -07:00
mtd Slab API: remove useless ctor parameter and reorder parameters 2007-10-17 08:42:45 -07:00
net WOL bugfix for 3c59x.c 2007-10-16 21:10:29 -04:00
nubus
of
oprofile
parisc
parport
pci Get rid of unused variable warning in drivers/pci/hotplug/pci_hotplug_core.c 2007-10-15 09:07:58 -07:00
pcmcia pcmcia: CompactFlash driver for PA Semi Electra boards 2007-10-17 08:42:48 -07:00
pnp pnp: avoid a small unlikely memory leak in proc_read_escd() 2007-10-17 08:42:51 -07:00
power Driver core: change add_uevent_var to use a struct 2007-10-12 14:51:01 -07:00
ps3 ps3fb: default to 480p on DVI-D/HDMI if video=safe 2007-10-16 09:43:22 -07:00
rapidio
rtc rtc: allow validated RTC_PIE_ON for non-root 2007-10-16 09:43:13 -07:00
s390 unicode diacritics support 2007-10-17 08:42:52 -07:00
sbus
scsi Merge branch 'for-linus' of git://git.kernel.dk/data/git/linux-2.6-block 2007-10-16 10:09:16 -07:00
serial tty: bring the old cris driver back somewhere into the realm of new tty buffering 2007-10-16 09:43:04 -07:00
sh
sn
spi spi doesn't need class_device 2007-10-16 09:43:10 -07:00
ssb missing include in ssb 2007-10-14 08:53:33 -07:00
tc unicode diacritics support 2007-10-17 08:42:52 -07:00
telephony kconfig: syntax cleanup - drop support for "depends/requires/def_boolean" 2007-10-12 21:20:32 +02:00
uio
usb kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
video fix cirrusfb breakage 2007-10-16 16:55:21 -07:00
w1 Clean up duplicate includes in drivers/w1/ 2007-10-17 08:42:48 -07:00
xen
zorro
Kconfig DCA: Add Direct Cache Access driver 2007-10-16 09:43:09 -07:00
Makefile DCA: Add Direct Cache Access driver 2007-10-16 09:43:09 -07:00