[patch 00/11] UTF-8: Use UCS-4 in struct term_event_keyboard.
Kalle Olavi Niemitalo <[email protected]>
| Newsgroups | gmane.comp.web.links |
|---|---|
| Message-ID | <[email protected]> |
This set of patches changes struct term_event_keyboard to use UCS-4 if CONFIG_UTF_8 is defined. Thus, there will be just one event per character, rather than one per byte. The binary interlink protocol is completely unaffected, although the implementation changes quite a bit. The patches supersede the ones I posted in these messages: [patch 0/5] mid:[email protected] [patch 1/5] mid:[email protected] [patch 2/5] mid:[email protected] [patch 3/5] mid:[email protected] [patch 4/5] mid:[email protected] [patch 5/5] mid:[email protected] These changes fix bug 782 and allow input fields to guard against invalid UTF-8. They also make it easier to fix bug 777 or add support for binding actions to non-ASCII keys. However, non-ASCII hotkeys do not yet work when CONFIG_UTF_8 is defined. Note the "Character Conversions" comments patches 09/11 and 11/11 in this series add to handle_interlink_event(). They describe how I think different combinations of CONFIG_UTF_8, UTF-8 I/O, and the UTF-8 charset should behave; I tried to write the code accordingly. If you think the behaviour described in these comments is not correct, now is a good time to post your opinion. _______________________________________________ elinks-dev mailing list [email protected] http://linuxfromscratch.org/mailman/listinfo/elinks-dev
signature.asc
(application/pgp-signature, 188 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFE1N3QHm9IGt60eMgRAv5aAKCgjMPtTFf3bHmS6hi0Q3Gi1zkGlwCg7UOG Mlr7oK1T7lEF/fOp1PFLwvg= =ozVq -----END PGP SIGNATURE-----