Hello, this report received no attention, but the bug is there.
The issue is not relevant to the accent thing, you can simply put a french keyboard configuration and press altgr (aka control + alt) + 7.
On such configuration, you get nothing for the first keypress (just like with the '^' key situation i described), and any next keypress, regardless of what it is, will generate the correct character, in this case it's a `.
Inside on keydown, in this case, on the first keypress, I get some asian characters.
The correct behavior is to get 7 for $keyval and $null for $keychar.