Directly use the symbolic (=virtual) key code, that's what we want.
Directly use the symbolic (=virtual) key code, that's what we want.

With my fr_FR.UTF-8 locale, `buf` did contain a multi-byte sequence for non ASCII, thus putting `buf[0]` in `charCode`did not make much sense.
The defunct `recode`function did not improve anything, because it tried to convert `buf[0]`, kind of stupid obsolete code...

Note: we still use `translateCode` for having cross platform keycodes for arrows, page up/down and a few other non character keys.
We might want to generalize that to other keys! (I mean being cross platform).

timfel/squeakvm,OpenSmalltalk/vm,timfel/squeakvm,OpenSmalltalk/vm,OpenSmalltalk/vm,timfel/squeakvm,OpenSmalltalk/vm,timfel/squeakvm,OpenSmalltalk/vm,timfel/squeakvm,OpenSmalltalk/vm,timfel/squeakvm,timfel/squeakvm,OpenSmalltalk/vm,OpenSmalltalk/vm,timfel/squeakvm