From f52795ea3e637396ac2bbdef8fa1b1b6f2088db6 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 4 Sep 2015 10:07:51 +0100 Subject: 36415: remap bytes from invalid multibyte characters. These now go to 0xdc00 + index. If wchar_t is a Unicode code point, this is by construction an invalid character within the Unicode range. If it isn't, we would hope the result was no worse than the current fudge. --- ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index f9822b9c8..860e09df4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2015-09-04 Peter Stephenson + + * 36415: Src/pattern.c, Test/D07multibyte.ztst: remap bytes from + invalid multibyte characters to 0xDC00 + index which is invalid + in Unicode. Strictly this only works if whcar_t is + ISO-10646-compliant, however it ought to be at least as good as + the current fudge in any case. + 2015-09-03 Peter Stephenson * 36416: Src/Zle/zle_refresh.c, Src/Zle/zle_utils.c: If -- cgit 1.4.1