comparison lisp/international/mule-cmds.el @ 50535:32b881425e3d

(sort-coding-systems): Lower the priorities of all utf-16 base coding systems.
author Kenichi Handa <handa@m17n.org>
date Fri, 11 Apr 2003 00:41:40 +0000
parents 42387e68072a
children 4eb84208a499
comparison
equal deleted inserted replaced
50534:a3dafc05fe67 50535:32b881425e3d
428 ;; MIME charset. 428 ;; MIME charset.
429 (if mime 429 (if mime
430 ;; Lower utf-16 priority so that we 430 ;; Lower utf-16 priority so that we
431 ;; normally prefer utf-8 to it, and put 431 ;; normally prefer utf-8 to it, and put
432 ;; x-ctext below that. 432 ;; x-ctext below that.
433 (cond ((or (eq base 'mule-utf-16-le) 433 (cond ((string-match "utf-16"
434 (eq base 'mule-utf-16-be)) 434 (symbol-name mime))
435 16) 435 16)
436 ((string-match "^x-" (symbol-name mime)) 436 ((string-match "^x-" (symbol-name mime))
437 8) 437 8)
438 (t 32)) 438 (t 32))
439 0)) 439 0))