[haiku-development] Re: AltGr Key, key_map, and the US-International Keyboard

  • From: "Ingo Weinhold" <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 30 Mar 2012 03:50:43 +0200

> John Scipione wrote:
> On Thu, Mar 29, 2012 at 3:29 PM, Rimas Kudelis <rq@xxxxxx> wrote:
> > You can try editing any keymap file. Paste line 209 to it, and the keymap
> > app should crash, unless it's been fixed without me knowing. :)
> 
> Ahh, now I see what the problem is. Keymap only supports UTF-8
> characters 1 through 4-bytes wide.
> 
> 0xc4afcc87cc81 is 6 bytes, which is allowed by UTF-8, but not by
> keymap.

Actually 6 byte sequences haven't been valid UTF-8 for more than 8 years. For a 
single character UTF-8 uses at most 4 octets. [1]

CU, Ingo

[1] http://tools.ietf.org/html/rfc3629#section-3

Other related posts: