Mercurial > emacs
comparison lisp/international/utf-16.el @ 88123:375f2633d815
New directory
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 08 Sep 2003 11:56:09 +0000 |
parents | 695cf19ef79e |
children |
comparison
equal
deleted
inserted
replaced
52428:27bc8b966642 | 88123:375f2633d815 |
---|---|
1 ;;; utf-16.el --- UTF-16 encoding/decoding | 1 ;;; utf-16.el --- UTF-16 encoding/decoding |
2 | 2 |
3 ;; Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. | 3 ;; Copyright (C) 2001, 2002 Free Software Foundation, Inc. |
4 | 4 |
5 ;; Author: Dave Love <fx@gnu.org> | 5 ;; Author: Dave Love <fx@gnu.org> |
6 ;; Keywords: Unicode, UTF-16, i18n | 6 ;; Keywords: Unicode, UTF-16, i18n |
7 | 7 |
8 ;; This file is part of GNU Emacs. | 8 ;; This file is part of GNU Emacs. |
23 ;; Boston, MA 02111-1307, USA. | 23 ;; Boston, MA 02111-1307, USA. |
24 | 24 |
25 ;;; Commentary: | 25 ;;; Commentary: |
26 | 26 |
27 ;; Support for UTF-16, which is a two-byte encoding (modulo | 27 ;; Support for UTF-16, which is a two-byte encoding (modulo |
28 ;; surrogates) of Unicode, defined in RFC 2781. It is written either | 28 ;; surrogates) of Unicode, written either in little or big endian |
29 ;; in little or big endian order and either with or without the | 29 ;; order and either with or without the leading BOM (a two-byte |
30 ;; leading BOM (a two-byte signature which identifies their byte sex). | 30 ;; signature which identifies their byte sex)a. |
31 ;; | 31 ;; |
32 ;; We provide these base coding systems. | 32 ;; We provides these base coding systems. |
33 ;; name endian BOM | 33 ;; name endian BOM |
34 ;; ---- ------ --- | 34 ;; ---- ------ --- |
35 ;; mule-utf-16le little no | 35 ;; mule-utf-16le little no |
36 ;; mule-utf-16be big no | 36 ;; mule-utf-16be big no |
37 ;; mule-utf-16le-with-signature little yes | 37 ;; mule-utf-16le-with-signature little yes |
344 latin-iso8859-1 | 344 latin-iso8859-1 |
345 mule-unicode-0100-24ff | 345 mule-unicode-0100-24ff |
346 mule-unicode-2500-33ff | 346 mule-unicode-2500-33ff |
347 mule-unicode-e000-ffff) | 347 mule-unicode-e000-ffff) |
348 (mime-charset . utf-16le) | 348 (mime-charset . utf-16le) |
349 (mime-text-unsuitable . t) | |
350 (valid-codes (0 . 255)) | 349 (valid-codes (0 . 255)) |
351 (dependency unify-8859-on-encoding-mode | 350 (dependency unify-8859-on-encoding-mode |
352 unify-8859-on-decoding-mode | 351 unify-8859-on-decoding-mode |
353 utf-fragment-on-decoding | 352 utf-fragment-on-decoding |
354 utf-translate-cjk))) | 353 utf-translate-cjk))) |
389 mule-unicode-0100-24ff | 388 mule-unicode-0100-24ff |
390 mule-unicode-2500-33ff | 389 mule-unicode-2500-33ff |
391 mule-unicode-e000-ffff) | 390 mule-unicode-e000-ffff) |
392 (coding-category . coding-category-utf-16-le) | 391 (coding-category . coding-category-utf-16-le) |
393 (mime-charset . utf-16) | 392 (mime-charset . utf-16) |
394 (mime-text-unsuitable . t) | |
395 (valid-codes (0 . 255)) | 393 (valid-codes (0 . 255)) |
396 (dependency unify-8859-on-encoding-mode | 394 (dependency unify-8859-on-encoding-mode |
397 unify-8859-on-decoding-mode | 395 unify-8859-on-decoding-mode |
398 utf-fragment-on-decoding | 396 utf-fragment-on-decoding |
399 utf-translate-cjk))) | 397 utf-translate-cjk))) |
435 mule-unicode-0100-24ff | 433 mule-unicode-0100-24ff |
436 mule-unicode-2500-33ff | 434 mule-unicode-2500-33ff |
437 mule-unicode-e000-ffff) | 435 mule-unicode-e000-ffff) |
438 (coding-category . coding-category-utf-16-be) | 436 (coding-category . coding-category-utf-16-be) |
439 (mime-charset . utf-16) | 437 (mime-charset . utf-16) |
440 (mime-text-unsuitable . t) | |
441 (valid-codes (0 . 255)) | 438 (valid-codes (0 . 255)) |
442 (dependency unify-8859-on-encoding-mode | 439 (dependency unify-8859-on-encoding-mode |
443 unify-8859-on-decoding-mode | 440 unify-8859-on-decoding-mode |
444 utf-fragment-on-decoding | 441 utf-fragment-on-decoding |
445 utf-translate-cjk) | 442 utf-translate-cjk) |
458 (define-coding-system-alias 'mule-utf-16-le 'mule-utf-16le-with-signature) | 455 (define-coding-system-alias 'mule-utf-16-le 'mule-utf-16le-with-signature) |
459 (define-coding-system-alias 'utf-16-le 'mule-utf-16le-with-signature) | 456 (define-coding-system-alias 'utf-16-le 'mule-utf-16le-with-signature) |
460 (define-coding-system-alias 'mule-utf-16-be 'mule-utf-16be-with-signature) | 457 (define-coding-system-alias 'mule-utf-16-be 'mule-utf-16be-with-signature) |
461 (define-coding-system-alias 'utf-16-be 'mule-utf-16be-with-signature) | 458 (define-coding-system-alias 'utf-16-be 'mule-utf-16be-with-signature) |
462 | 459 |
463 ;;; arch-tag: 85455d46-d9c9-466d-a6f3-c3582a7367c4 | |
464 ;;; utf-16.el ends here | 460 ;;; utf-16.el ends here |