<p>There is code that transforms the presumably latin-1 key value into approximately MacRoman encoding in platforms/win32/vm/sqWin32Window.c<br>
I let the archeologists debate if this code dates from Jurassic period or more distant paleozoic era, all I know is that we pay for what we don't buy...</p>
<p>Thus I propose to entirely remove that piece of code and disentangle a bit the spaghetti keyboard handling.</p>
<p>We indeed do not need this extra level of complexity anymore, images do not use macRoman encoding for a long time</p>
<p>On the contrary, images have to undo the translation by sending <code>macToSqueak</code> message in various subclasses of <code>KeyboardInputInterpreter</code>.</p>
<p>For the transition period, old images running on new VMs, or new images running on old VMs, might encounter a few hickups while interpreting non ASCII characters in case of exotic <code>KeyboardInputInterpreter</code>. That won't be the case of main <code>UTF32InputInterpreter</code> since it mostly uses the utf32 code passed through <code>eventBuffer sixth</code> position rather than keyValue passed thru <code>eventBuffer third</code>, except for some CTRL+key for which the keyValue is more-than-often < 128, and thus unaffcted by the proposed change.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/401?email_source=notifications&email_token=AIJPEW4WLUEFXLYB75PFPBTPZ6IENA5CNFSM4HW5SSY2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GYZMZMQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AIJPEW6NRGUAQ3QNPBLN5B3PZ6IENANCNFSM4HW5SSYQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AIJPEW44TBLH6JYGLP6BMTTPZ6IENA5CNFSM4HW5SSY2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GYZMZMQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/401?email_source=notifications\u0026email_token=AIJPEW4WLUEFXLYB75PFPBTPZ6IENA5CNFSM4HW5SSY2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GYZMZMQ",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/401?email_source=notifications\u0026email_token=AIJPEW4WLUEFXLYB75PFPBTPZ6IENA5CNFSM4HW5SSY2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GYZMZMQ",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>