(Qutf16): New variable in MULE.
authortomo <tomo>
Tue, 29 Oct 2002 09:09:06 +0000 (09:09 +0000)
committertomo <tomo>
Tue, 29 Oct 2002 09:09:06 +0000 (09:09 +0000)
commit7c037a842af26de9d76dbeb252dcacbb4b134f1a
tree0f4dba5f2e84b3d33b6f11d1210226d4c55b46d6
parent178b1d2a920202e398cf0a9320455c4539d30667
(Qutf16): New variable in MULE.
(Fmake_coding_system): Accept `utf-16' as `type' in MULE.
(Fcoding_system_type): Add `utf-16' in MULE.
(struct detection_state): Add a structure for utf16 in MULE.
(detect_coding_type): Setup st->utf16.mask in MULE.
(mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in MULE.
(reset_encoding_stream): Use `char_encode_utf16' and
`char_finish_utf16' for `CODESYS_UTF16' in MULE.
(detect_coding_utf16): New function [incomplete].
(decode_coding_utf16): New function [support only UCS-2].
(char_encode_utf16): New function.
(char_finish_utf16): New function.
(syms_of_file_coding): Add new symbol `utf-16'; setup
`coding_category_symbol[CODING_CATEGORY_UTF16]'.
src/text-coding.c