(CATEGORY_MASK_ANY): Add CATEGORY_MASK_UTF_16_AUTO.
authorKenichi Handa <handa@m17n.org>
Thu, 3 Apr 2008 12:31:27 +0000 (12:31 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 3 Apr 2008 12:31:27 +0000 (12:31 +0000)
commit2f3cbb326b9519d3ae4ef8049ec6f2bb5b99e028
tree3f3f5d525e474e9403dd99c07cdfbf590f3a23ee
parent164ce7fab306e1d10e8be4a8d192adc0a99bfc67
(CATEGORY_MASK_ANY): Add CATEGORY_MASK_UTF_16_AUTO.
(CATEGORY_MASK_UTF_16): Likewise.
(detect_coding_utf_16): Add heuristics to reject utf-16 for a
binary file.
(detect_coding): Add null-byte detection for a binary file.
(detect_coding_system): Likewise.
src/ChangeLog
src/coding.c