help-emacs-windows
[Top][All Lists]
Advanced

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

[h-e-w] Re: Accents in environment variables - HOME


From: Benjamin Riefenstahl
Subject: [h-e-w] Re: Accents in environment variables - HOME
Date: Sun, 11 Apr 2004 17:21:44 +0200
User-agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3.50 (gnu/linux)

Hi Jason,


Jason Rumney <address@hidden> writes:
> locale-coding-system is iso-8859-1 in such locales by default, since
> windows-1252 is not supported at startup (it requires codepage.el to
> be loaded),

I think I argued before that the system encodings should be
preloaded...

> and there is no generic way to map the results of GetACP()
> to Emacs coding-systems.

... which would also solve this problem. 

> The conversion is done when the environment is read at startup. So
> if the conversion fails in the first place, changing
> locale-coding-system will not affect it.

Actually, I just had a look at the code, and the encoding *is* done by
(getenv) and (setenv).  But your point is correct that this doesn't
matter when the coding-system doesn't match the data.  Problem
solved. 


benny





reply via email to

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