spiegel-keyman/developer
Marc Durdin 2dcc8fb948 fix(developer): prevent non-BMP characters in key part of rule
Currently, keys must be a UTF-16 code unit or a virtual key. Non-BMP
characters are unsupported. Technically, there is space available in the
.kmx `COMP_KEY` structure to accommodate UTF-32 codepoints, from
kmx_file.h:

    KMX_WORD_unaligned Key;
    KMX_WORD_unaligned _reserved;

However, the utility of this is almost nil, as it is very unlikely we
will encounter base keyboards (for mnemonic layouts) that generate any
characters outside the BMP, so there is little value in adding support
for this at this time.

The compiler will generate an error if this is encountered.

Fixes: #11643
2024-06-12 16:23:32 +07:00
..
config feat(developer): add api-extractor and api-documenter and config 2024-02-26 11:37:32 +07:00
docs/api/etc docs(developer): kmc-package api documentation 2024-03-04 19:15:37 +07:00
src fix(developer): prevent non-BMP characters in key part of rule 2024-06-12 16:23:32 +07:00
.gitignore chore(developer): move server with no changes 2022-05-23 12:15:34 +10:00
build.sh chore(developer): use builder.inc.sh instead of build-utils.sh in build scripts 2024-05-20 06:34:46 +07:00