diff options
author | yonatanzunger <30514250+yonatanzunger@users.noreply.github.com> | 2021-01-11 01:21:44 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-11 01:21:44 -0800 |
commit | 554b937d21f8c50515c22498f4f46df0b3ae6569 (patch) | |
tree | ed202d5c70dc0c0d538e0bb4e9c2f0fd3ec3804c /keyboards/kc60/keymaps/wigguno/keymap.c | |
parent | b113888ec55e456ffcff2d6b04ad29309d01b325 (diff) |
[Keymap] Redo the accent implementation in melody96:zunger. (#11000)
The previous implementation generated accents in NFKD -- e.g., i
followed by fn+e would generate í, which is actually an ordinary i
followed by U+0301 COMBINING ACUTE ACCENT. Unfortunately, it turns
out that a bunch of websites and apps (especially European ones
written in languages that use these a lot) were very poorly written,
and will misparse and/or crash if presented with Unicode NFKD. They
require and expect NFKC, with characters like í (U+00ED LATIN SMALL
I WITH ACUTE) that look visually identical -- and are in fact
normalization-equivalent -- but have to be encoded differently.
The new accent implementation handles this in a very flexible way.
Many new comments added as well, as it's also clear that this is going
to need a bit more expansion before it becomes a true polyglot keymap.
Co-authored-by: Yonatan Zunger <zunger@desiderata.lan>
Diffstat (limited to 'keyboards/kc60/keymaps/wigguno/keymap.c')
0 files changed, 0 insertions, 0 deletions