Subject: bug#1654: 23.0.60; auto encoding detection
(detect-coding-region) not working

Chong Yidong <cyd@xxxxxxxxxxxxxxxxx> writes:

> Kenichi Handa <handa@xxxxxxxx> writes:
>> Ok, but I can't reproduce the problem for test_gbk.txt.
>> What is shown by C-h C RET?
> Strangely enough, I get
> Coding system for saving this buffer:
> S -- japanese-shift-jis-unix (alias: shift_jis-unix sjis-unix
> cp932-unix)
> My LANG is en_US.UTF-8.

Yes, that is expected I think. For non zh_CN locale, japanese is
prioritized for CJK.

and IMPORTANT, ignore the attached .txt file in my previous email. It
seems that my email system convert big5 to gbk automatically. So yes,
you need to iconv it to big5 first for testing.

So the current issue is that: in detect-coding-region's DOC, it says
"Return a list of possible coding systems ordered by priority".
But for big5 txt file, the big5 coding system is not in the returned