(ccl-encode-koi8, ccl-encode-koi8-u)
authorKenichi Handa <handa@m17n.org>
Fri, 13 Dec 2002 04:45:43 +0000 (04:45 +0000)
committerKenichi Handa <handa@m17n.org>
Fri, 13 Dec 2002 04:45:43 +0000 (04:45 +0000)
(ccl-encode-alternativnyj): Fix last change.

lisp/language/cyrillic.el

index 47cf534..b4135c6 100644 (file)
     ((loop
       (read-multibyte-character r0 r1)
       (translate-character cyrillic-koi8-r-encode-table r0 r1)
-      (if (r0 != ,(charset-id 'eight-bit-graphic))
-         (if (r0 != ,(charset-id 'eight-bit-control))
-             (r1 = ??)))
+      (if (r0 != ,(charset-id 'ascii))
+         (if (r0 != ,(charset-id 'eight-bit-graphic))
+             (if (r0 != ,(charset-id 'eight-bit-control))
+                 (r1 = ??))))
       (write-repeat r1))))
   "CCL program to encode KOI8-R.")
 
@@ -280,9 +281,10 @@ This works whether or not the table is Unicode-based or
     ((loop
       (read-multibyte-character r0 r1)
       (translate-character cyrillic-koi8-u-encode-table r0 r1)
-      (if (r0 != ,(charset-id 'eight-bit-graphic))
-         (if (r0 != ,(charset-id 'eight-bit-control))
-             (r1 = ??)))
+      (if (r0 != ,(charset-id 'ascii))
+         (if (r0 != ,(charset-id 'eight-bit-graphic))
+             (if (r0 != ,(charset-id 'eight-bit-control))
+                 (r1 = ??))))
       (write-repeat r1))))
   "CCL program to encode KOI8-U.")
 
@@ -381,9 +383,10 @@ This works whether or not the table is Unicode-based or
     ((loop
       (read-multibyte-character r0 r1)
       (translate-character cyrillic-alternativnyj-encode-table r0 r1)
-      (if (r0 != ,(charset-id 'eight-bit-graphic))
-         (if (r0 != ,(charset-id 'eight-bit-control))
-             (r1 = ??)))
+      (if (r0 != ,(charset-id 'ascii))
+         (if (r0 != ,(charset-id 'eight-bit-graphic))
+             (if (r0 != ,(charset-id 'eight-bit-control))
+                 (r1 = ??))))
       (write-repeat r1))))
   "CCL program to encode Alternativnyj.")