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

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

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


From: Benjamin Riefenstahl
Subject: Re: [h-e-w] Accents in environment variables - HOME
Date: Sat, 10 Apr 2004 18:53:03 +0200
User-agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3.50 (gnu/linux)

Hi Michelle,


"sherkin.freesbee" <address@hidden> writes:
> But, as a first test, I still have:
> (codepage-setup 437)
> cp437
>
> (decode-coding-string
>  "C:\\Documents and Settings\\Propri\202taire"
>  'cp437)
>
> "C:\\Documents and Settings\\PropriƩtaire"
>
> (setq locale-coding-system 'cp437)
> cp437
> (getenv "HOME")
> "C:\\Documents and Settings\\Propri\202taire"

Yes, that's right.  As I wrote before

> The caller of (getenv) is supposed to use locale-coding-system with
> the result [...]

IOW, (getenv) is supposed to give you raw data.  The next question is
whether the rest of Emacs (in the version that you have installed)
actually does use locale-coding-system.  E.g. if you do C-x C-f ~, do
you get into the right directory now?


benny





reply via email to

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