Mercurial > emacs
comparison lisp/language/cyrillic.el @ 47416:2ff3f5116672
("Ukrainian"): Fix nonascii-translation.
(cyrillic-alternativnyj-decode-table): Fix some entries.
author | Dave Love <fx@gnu.org> |
---|---|
date | Wed, 11 Sep 2002 21:07:00 +0000 |
parents | 81c9cd627d93 |
children | e0786a68f34e |
comparison
equal
deleted
inserted
replaced
47415:9171c407208a | 47416:2ff3f5116672 |
---|---|
298 | 298 |
299 (set-language-info-alist | 299 (set-language-info-alist |
300 "Ukrainian" `((coding-system koi8-u) | 300 "Ukrainian" `((coding-system koi8-u) |
301 (coding-priority koi8-u) | 301 (coding-priority koi8-u) |
302 (nonascii-translation | 302 (nonascii-translation |
303 . ,(get 'cyrillic-koi8-r-nonascii-translation-table | 303 . ,(get 'cyrillic-koi8-u-nonascii-translation-table |
304 'translation-table)) | 304 'translation-table)) |
305 (input-method . "ukrainian-computer") | 305 (input-method . "ukrainian-computer") |
306 (features code-pages) | 306 (features code-pages) |
307 (documentation | 307 (documentation |
308 . "Support for Ukrainian with koi8-u character set.")) | 308 . "Support for Ukrainian with KOI8-U character set.")) |
309 '("Cyrillic")) | 309 '("Cyrillic")) |
310 | 310 |
311 ;;; ALTERNATIVNYJ stuff | 311 ;;; ALTERNATIVNYJ stuff |
312 | 312 |
313 ;; Fixme: It's unclear what's the correct table. I've found | |
314 ;; statements both that it's the same as cp866 and somewhat different, | |
315 ;; but nothing that looks definitive. | |
313 (defvar cyrillic-alternativnyj-decode-table | 316 (defvar cyrillic-alternativnyj-decode-table |
314 [ | 317 [ |
315 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 318 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
316 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | 319 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
317 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | 320 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
334 ?,LP(B ?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B ?$,2!+(B ?$,2!*(B ?$,2 8(B ?$,2 ,(B ?$,2!H(B ?$,2!D(B ?$,2!L(B ?$,2!P(B ?$,2!@(B |
338 ?,L`(B ?,La(B ?,Lb(B ?,Lc(B ?,Ld(B ?,Le(B ?,Lf(B ?,Lg(B ?,Lh(B ?,Li(B ?,Lj(B ?,Lk(B ?,Ll(B ?,Lm(B ?,Ln(B ?,Lo(B | 341 ?,L`(B ?,La(B ?,Lb(B ?,Lc(B ?,Ld(B ?,Le(B ?,Lf(B ?,Lg(B ?,Lh(B ?,Li(B ?,Lj(B ?,Lk(B ?,Ll(B ?,Lm(B ?,Ln(B ?,Lo(B |
339 ?,L!(B ?,Lq(B ?,L$(B ?,Lt(B ?,L'(B ?,Lw(B ?,L.(B ?,L~(B 248 249 250 251 ?,Lp(B 253 254 ?,L (B] | 342 ?,L!(B ?,Lq(B ?,L$(B ?,Lt(B ?,L'(B ?,Lw(B ?,L.(B ?,L~(B ?,A0(B ?$,1s"(B ?,A7(B ?$,1x:(B ?,Lp(B ?,A$(B ?$,2!`(B ?,L (B] |
340 "Cyrillic ALTERNATIVNYJ decoding table.") | 343 "Cyrillic ALTERNATIVNYJ decoding table.") |
341 | 344 |
342 (let ((table (make-translation-table-from-vector | 345 (let ((table (make-translation-table-from-vector |
343 cyrillic-alternativnyj-decode-table))) | 346 cyrillic-alternativnyj-decode-table))) |
344 (define-translation-table 'cyrillic-alternativnyj-nonascii-translation-table | 347 (define-translation-table 'cyrillic-alternativnyj-nonascii-translation-table |
370 (write-repeat r1)))) | 373 (write-repeat r1)))) |
371 "CCL program to encode Alternativnyj.") | 374 "CCL program to encode Alternativnyj.") |
372 | 375 |
373 (cyrillic-unify-encoding 'cyrillic-alternativnyj-encode-table) | 376 (cyrillic-unify-encoding 'cyrillic-alternativnyj-encode-table) |
374 | 377 |
378 ;; Fixme: Check the cp866 here and in alias below. See comment on the | |
379 ;; decode table above. | |
375 (make-coding-system | 380 (make-coding-system |
376 'cyrillic-alternativnyj 4 ?A | 381 'cyrillic-alternativnyj 4 ?A |
377 "ALTERNATIVNYJ (CP866) 8-bit encoding for Cyrillic." | 382 "ALTERNATIVNYJ (CP866) 8-bit encoding for Cyrillic." |
378 '(ccl-decode-alternativnyj . ccl-encode-alternativnyj) | 383 '(ccl-decode-alternativnyj . ccl-encode-alternativnyj) |
379 `((safe-chars . cyrillic-alternativnyj-encode-table) | 384 `((safe-chars . cyrillic-alternativnyj-encode-table) |