[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Coding systems
On Sun, 18 Feb 2018 06:42:22 -0500, Boruch Baum wrote:
> Is there a reason at this point in history that the default coding
> systems for emacs-w3m are not utf-8? I see six related variables for
> emacs-w3m, which seems like a lot, but there may be others that I've
I think it is good to make all the ^w3m.+coding-system variables,
except the ones that should inherit system's locale, be utf-8.
A coding system such as utf-8 that can be used to encode/decode
any charset was not generalized in the Emacs world when we started
emacs-w3m, so we used iso-2022-7bit, etc. then instead.
But we should be very careful if we change those default values.
For instance, even the bleeding-edge Emacs still uses traditional
japanese-shift-jis as the default coding system for the Japanese
language environment on windows-nt and cygwin, whereas Windows
changed at least the file name coding system to utf-8 long before.
I mean there will probably be those who still use shift_jis on
Windows, and similarly those who still use euc-jp on Unix/Linux.
Such is one of the difficulties of the Japanese coding systems.
Here are the ones on my cygwin environment:
I don't maintain those w3m-* variables except for the ones of
which the values are utf-8, but it causes no problem for at
least the features I usually use.