Commit 2588a6d7 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(utf-16-le): Renamed from utf-16-le-nosig.

(utf-16-be): Renamed from utf-16-be-nosig.
(utf-16-le-with-sig): Renamed from utf-16-le.
(utf-16-be-with-sig): Renamed from utf-16-be.
(utf-16): Set :bom to (utf-16-le-with-sig . utf-16-be-with-sig).
parent afe6e43e
......@@ -1163,44 +1163,47 @@ is treated as a character."
:mnemonic ?U
:charset-list '(emacs))
(define-coding-system 'utf-16
"UTF-16"
:coding-type 'utf-16
:mnemonic ?U
:charset-list '(unicode)
:mime-charset 'utf-16)
(define-coding-system 'utf-16-le-nosig
"UTF-16, little endian, no signature."
(define-coding-system 'utf-16-le
"UTF-16, little endian."
:coding-type 'utf-16
:mnemonic ?U
:charset-list '(unicode)
:endian 'little)
:endian 'little
:mime-charset 'utf-16le)
(define-coding-system 'utf-16-be-nosig
"UTF-16, big endian, no signature."
(define-coding-system 'utf-16-be
"UTF-16, big endian."
:coding-type 'utf-16
:mnemonic ?U
:charset-list '(unicode)
:endian 'big)
:endian 'big
:mime-charset 'utf-16be)
(define-coding-system 'utf-16-le
(define-coding-system 'utf-16-le-with-sig
"UTF-16, little endian, with signature."
:coding-type 'utf-16
:mnemonic ?U
:charset-list '(unicode)
:bom t
:endian 'little
:mime-charset 'utf-16-le)
:mime-charset 'utf-16)
(define-coding-system 'utf-16-be
(define-coding-system 'utf-16-be-with-sig
"UTF-16, big endian, with signature."
:coding-type 'utf-16
:mnemonic ?U
:charset-list '(unicode)
:bom t
:endian 'big
:mime-charset 'utf-16-be)
:mime-charset 'utf-16)
(define-coding-system 'utf-16
"UTF-16"
:coding-type 'utf-16
:mnemonic ?U
:charset-list '(unicode)
:bom '(utf-16-le-with-sig . utf-16-be-with-sig)
:mime-charset 'utf-16)
(define-coding-system 'iso-2022-7bit
"ISO 2022 based 7-bit encoding using only G0."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment