Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: utf-8 and zsh



On Sun, 7 Dec 2008, Benjamin R. Haskell wrote:

There are two ZLE widgets related to entering special characters: insert-composed-char and insert-unicode-char

[...]

NB. On my system, though, it doesn't appear to be fully working (Both ^X i ` and ^X i ' produce à (even though the latter should produce Ã))

Attached is a patch against CVS. The code for à was in both sets. Corrected to the code for à in the '-row.

Best,
Ben
Index: Functions/Zle/define-composed-chars
===================================================================
RCS file: /cvsroot/zsh/zsh/Functions/Zle/define-composed-chars,v
retrieving revision 1.5
diff -u -r1.5 define-composed-chars
--- Functions/Zle/define-composed-chars	11 Dec 2006 03:42:59 -0000	1.5
+++ Functions/Zle/define-composed-chars	7 Dec 2008 22:26:25 -0000
@@ -23,7 +23,7 @@
 # acute
 a=\'
 z[$a]="\
-A C1 E C9 I CD O D3 U DA Y DD a E1 e E9 i EC o F3 u FA y FD C 106 c 107 \
+A C1 E C9 I CD O D3 U DA Y DD a E1 e E9 i ED o F3 u FA y FD C 106 c 107 \
 L 139 l 13A N 143 n 144 R 154 r 155 S 15A s 15B Z 179 z 17A \
 "
 # circumflex


Messages sorted by: Reverse Date, Date, Thread, Author