mbbrutman Washington, USA, 21.01.2023, 21:44 |
International keyboard support (Developers) |
I'm working on enabling some of my programs for Unicode. Specially, being able to decode UTF-8 and map Unicode codepoints to the machine's 256 available characters. My machine uses CP437 which is limited, but UTF-8 things already look much better. --- |
marcov 22.01.2023, 14:19 @ mbbrutman |
International keyboard support |
> On the keyboard side there is the KEYB.COM program. From what I can tell |
tom Germany (West), 22.01.2023, 18:06 (edited by tom, 22.01.2023, 19:51) @ mbbrutman |
International keyboard support |
> I'm working on enabling some of my programs for Unicode. |
Laaca Czech republic, 22.01.2023, 21:55 @ mbbrutman |
International keyboard support |
The loadable keyboard driver creates the ASCII codes from the scancodes. --- |
mbbrutman Washington, USA, 22.01.2023, 22:46 @ Laaca |
International keyboard support |
So based on my experiments and what I'm reading here, I think I can summarize it as follows: |
Laaca Czech republic, 23.01.2023, 00:20 @ mbbrutman |
International keyboard support |
Yes, the 8-bit (extended ASCII) to Unicode (and vice versa) conversion is a problem as DOS does not provide any table for it. --- |
bretjohn Rio Rancho, NM, 23.01.2023, 18:12 @ mbbrutman |
International keyboard support |
Unfortunately, it's not as simple as all that (even though that's far from simple in itself). |
mbbrutman Washington, USA, 23.01.2023, 23:51 @ bretjohn |
International keyboard support |
Understood - I can't support everything, nor am I going to try. I think a good starting point is assuming that there is only one keyboard mode and one codepage in effect at a time, and then using a mapping table to convert from whatever value is provided by the BIOS to Unicode. |
bretjohn Rio Rancho, NM, 24.01.2023, 21:10 @ mbbrutman |
International keyboard support |
> Do you think my plan works for the 80% case? (Single keyboard layout, |
tom Germany (West), 12.02.2023, 18:39 @ bretjohn |
International keyboard support |
> There are also some keyboard that have multiple "modes" they can be in. |
bretjohn Rio Rancho, NM, 13.02.2023, 15:35 @ tom |
International keyboard support |
> > There are also some keyboard that have multiple "modes" they can be in. |
tom Germany (West), 13.02.2023, 18:36 @ bretjohn |
International keyboard support |
> Creating a custom keyboard layout is not a big deal, but having it |
bretjohn Rio Rancho, NM, 14.02.2023, 04:51 @ tom |
International keyboard support |
>> Creating a custom keyboard layout is not a big deal, but having it |
tkchia 13.02.2023, 20:13 @ bretjohn |
International keyboard support |
Hello bretjohn, --- |
bretjohn Rio Rancho, NM, 14.02.2023, 05:05 @ tkchia |
International keyboard support |
> Hello bretjohn, |
tom Germany (West), 14.02.2023, 12:17 @ mbbrutman |
International keyboard support |
> So based on my experiments and what I'm reading here, I think I can |
tom Germany (West), 15.02.2023, 13:19 @ tom |
International keyboard support |
> it's probably better to display 'A' when 'Ä' is not available in the |
marcov 15.02.2023, 18:14 @ tom |
International keyboard support |
> according to WGL4 all European/American character sets sum to just about |
tom Germany (West), 15.02.2023, 21:31 @ marcov |
International keyboard support |
> > according to WGL4 all European/American character sets sum to just about |
mbbrutman Washington, USA, 18.02.2023, 03:17 @ tom |
International keyboard support |
Understood about the difference between the display code page and the keyboard layout. I know this, but not everything comes across in a web forum posting. --- |
Aitor 06.03.2023, 01:09 @ mbbrutman |
International keyboard support |
> Understood about the difference between the display code page and the |