Some time ago, Glynn Clements wrote...
|+
| Starting eterm and evaluating:
|
| (process-coding-system (get-buffer-process (current-buffer)))
|
| produces the result:
|
| (#<coding_system undecided> . #<coding_system binary>)
|
| Presumably the ^M results in the coding system being assumed to be
| <something>-dos.
Absolutely correct. I think the right tests would be
1. Start term and cat ISO2022.jp
2. Start term, first do ls, then cat ISO2022.jp
I suspect that detection may fail after it sees any English before Japanese.
Kirill