Annoyance with coding systems
Fabrice.Popineau at supelec.fr
Mon Jun 6 10:35:15 EDT 2005
* Stephen J Turnbull <stephen at xemacs.org> writes:
> Easy to check. What does M-: current-language-environment RET
> tell you when your system is set to French locale?
Strangely, it is returning 'French'. And
'buffer-file-coding-system-for-read is returning 'undecided.
For the moment, I get this with a fresh xemacs:
(no-conversion utf-16-little-endian-bom utf-16-bom utf-8-bom iso-7 utf-8 iso-8-1 iso-8-2 iso-8-designate iso-lock-shift shift-jis big5 utf-16-little-endian utf-16 ucs-4)
At this point, if I find-file the kind of text in my earlier message,
then I get Big5 encoding.
Currently, I only have this solution to overcome the problem:
BTW, which one is preferable?
Even if I try to (set-language-environment 'Latin-1), the wrong coding system
I have also tried to use:
Strangely, it does not replace the coding-priority-list, but rather
merges what it is given in front of it. And it does not change anything
to my problem contrarily to what I would have expected.
Not sure all this stuff is well suited to beginners...
More information about the XEmacs-Beta