Bug 10143
Summary: | The kernel does not generate a valid compose table | ||
---|---|---|---|
Product: | Drivers | Reporter: | Mario DV (mario50es) |
Component: | Input Devices | Assignee: | Samuel Thibault (samuel.thibault) |
Status: | RESOLVED PATCH_ALREADY_AVAILABLE | ||
Severity: | normal | CC: | bunk, dmitry.torokhov, samuel.thibault |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.24 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Attachments: | Fix (not tested) |
Description
Mario DV
2008-03-02 07:35:53 UTC
I think that the problem has begun with this patch: http://lkml.org/lkml/2007/10/18/475 I can confirm the bug, but reading again the source code, I don't see why that should fail: either you left the user map and then conv_uni_to_8bit will assume latin1, or you changed the user map, and conv_uni_to_8bit will follow... I'm digging a bit. Created attachment 15111 [details]
Fix (not tested)
Aaargl, stupid signed chars... int c = 'é' produces a negative value... The attached (untested) patch should just work fine.
Ok, thanks! Ok, tested, it works indeed. Stupid C language... Submitting to appropriate lists & people. The patch seems to work well for me, Thank you! |