Mercurial > hg > xemacs-beta
diff tests/automated/mule-tests.el @ 3695:42e4605ef1de
[xemacs-hg @ 2006-11-23 13:43:17 by aidan]
Handle bytes in the range 0x80-0xC0 better when dealing with ISO-IR 196.
author | aidan |
---|---|
date | Thu, 23 Nov 2006 13:43:29 +0000 |
parents | d6a215ad08b8 |
children | 58f19b254a23 |
line wrap: on
line diff
--- a/tests/automated/mule-tests.el Wed Nov 22 22:51:11 2006 +0000 +++ b/tests/automated/mule-tests.el Thu Nov 23 13:43:29 2006 +0000 @@ -441,6 +441,12 @@ (eq (aref ccl-vector 4) (encode-char (make-char 'control-1 31) 'ucs))))) + ;; This used to crash, at least in debug builds: + + (Assert (decode-coding-string + (string ?\33 ?\45 ?\107 ?\306 ?\222 ?\215 ?\306) + 'iso-2022-jp)) + ;;--------------------------------------------------------------- ;; Test charset-in-* functions ;;---------------------------------------------------------------