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 16:51:29 +0200
User-agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3.50 (gnu/linux)

Hi Michelle,


Benjamin Riefenstahl wrote:
> BR> What is the value of [locale-coding-system]?

"sherkin.freesbee" <address@hidden> writes:
> locale-coding-system
> iso-latin-1
>
> BR> And to what does this expression evaluate:
> BR>   (decode-coding-string (getenv "HOME") locale-coding-system)
> (decode-coding-string (getenv "HOME") locale-coding-system)
> "C:\\Documents and Settings\\Propri\202taire"

Some testing gives this:

(decode-coding-string
 "C:\\Documents and Settings\\Propri\202taire"
 'cp437)
"C:\\Documents and Settings\\PropriƩtaire"

IOW, your environment seems to be in Windows' OEM encoding.  So do
things work if you set locale-coding-system to that?  You may have to
execute (codepage-setup 437), before you can use 'cp437.


benny

PS: I'm not sure why you think any of the other messages is relevant,
none of them seems to say anything about encodings issues, which are
clearly your problem here.  Of course I may be missing something.





reply via email to

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