Re: Unicode input
"Stephen J. Turnbull" <[email protected]> Tue, 20 May 2003 12:48:27 +0900
| Newsgroups | gmane.emacs.xemacs.mule |
|---|---|
| Organization | The XEmacs Project |
| Message-ID | <[email protected]> |
>>>>> "Geoff" == Geoff Leach <[email protected]> writes: Geoff> So far I've been using insert-ucs-character to directly Geoff> input unicode points. But I seem to recall an input Geoff> method/approach where the unicode character could be typed Geoff> in the buffer as a four digit hex number and it would be Geoff> converted. Is there such? I'd say the thing to do would be just to wrap insert-ucs-character in a function that reads four hex characters, converts to an integer, and inserts. Then bind that to ?# or ?&. You could even define ?U as a prefix character such that [?U ?+] invokes the new function, and ?U followed by anything else self-inserts (this would be complicated to get right, though). Make a minor mode so that it can be inserted as an SGML entity or as a Unicode character according to user option. -- Institute of Policy and Planning Sciences http://turnbull.sk.tsukuba.ac.jp University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN Ask not how you can "do" free software business; ask what your business can "do for" free software.