(detect_coding_iso2022): New arg
authorKenichi Handa <handa@m17n.org>
Sat, 19 Jan 2008 05:55:50 +0000 (05:55 +0000)
committerKenichi Handa <handa@m17n.org>
Sat, 19 Jan 2008 05:55:50 +0000 (05:55 +0000)
commit5a7a1dde2c0cc502c3db47bb867b14534f741867
tree7196c1c2fc59402b7ba2063794d2308e30aabacb
parent69c43ff730922b9a55920ac1c0601e057eac9766
(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 Latin extra codes exist, detect the
encoding as ISO-2022 only when there's no other proper encoding is
found.
src/ChangeLog
src/coding.c