bug-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: poppyer
Subject: bug#1654: 23.0.60; auto encoding detection (detect-coding-region) not working
Date: Fri, 27 Mar 2009 13:20:35 +0800
User-agent: Emacs Gnus

Chong Yidong <address@hidden> writes:

> Kenichi Handa <address@hidden> writes:
>
>>> http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1654
>>
>> 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
list.

Cheers,
poppyer






reply via email to

[Prev in Thread] Current Thread [Next in Thread]