[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: detect-coding-with-priority

In article <E1JDGfJ-0003lT-4d@xxxxxxxxxxxxxxx>, Kenichi Handa <handa@xxxxxxxxxxxxx> writes:

> I think the following change is the culprit.

> 2008-01-09  Kenichi Handa  <handa@xxxxxxxxxxxxx>

> 	* coding.c (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.

> I'm now investigating what's wrong.

I've just installed a fix.

Kenichi Handa