]> git.eshelyaron.com Git - emacs.git/commit
(detect_coding_iso2022): New arg latin_extra_code_state. Allow Latin
authorKenichi Handa <handa@m17n.org>
Wed, 9 Jan 2008 06:05:23 +0000 (06:05 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 9 Jan 2008 06:05:23 +0000 (06:05 +0000)
commit36a04480a59ed8a3dccdab99620b4d73cb67ab66
tree32cd30adeef5c6cf29ee84ad7b6963ee6369bc90
parentca8dfeda7c6edcfeacb95a2e2d3b5dcb3841886c
(detect_coding_iso2022): New arg latin_extra_code_state.  Allow Latin
extra codes only when *latin_extra_code_state is nonzero.
(detect_coding_mask): If there is a NULL byte, detect the encoding as
UTF-16 or binary.  If there is a Latin extra code, detect the encoding
as ISO-2022 only when no other proper encoding is found.
src/coding.c