[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: environment variable don't get coding conversion
From: |
Kenichi Handa |
Subject: |
Re: environment variable don't get coding conversion |
Date: |
Mon, 20 Jan 2003 09:38:17 +0900 (JST) |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.2.92 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) |
In article <address@hidden>, Richard Stallman <address@hidden> writes:
> It seems to me that elements of process-environment should
> be decoded by locale-coding-system because
> process-environment is exposed to Emacs Lisp, and there are
> codes that directly manipulate that variable.
> We would have to encode them again when running a subprocess. I think
> that could have the effect of altering the values, so that they are
> not passed down properly from Emacs's parent process to its children.
As far as I know, any coding system set in
locale-coding-system is stateless. None of them uses escape
sequences. So, decoding and encoding should yield the same
value. If that is uncertain, we can put the original
unibyte string as a text property (say, `encoded-string') to
each of decoded string.
> It might be better for user programs to decode the values
> if they want to.
User programs? Then, what to do with M-x setenv?
---
Ken'ichi HANDA
address@hidden
- Re: environment variable don't get coding conversion, Richard Stallman, 2003/01/17
- Re: environment variable don't get coding conversion,
Kenichi Handa <=
- Re: environment variable don't get coding conversion, Richard Stallman, 2003/01/20
- Re: environment variable don't get coding conversion, Dave Love, 2003/01/21
- Re: environment variable don't get coding conversion, Richard Stallman, 2003/01/23
- Re: environment variable don't get coding conversion, Dave Love, 2003/01/23
- Re: environment variable don't get coding conversion, Richard Stallman, 2003/01/25
- Re: environment variable don't get coding conversion, Ehud Karni, 2003/01/25
- Re: environment variable don't get coding conversion, Kai Großjohann, 2003/01/26
- Re: environment variable don't get coding conversion, Eli Zaretskii, 2003/01/26
- Re: environment variable don't get coding conversion, Stefan Monnier, 2003/01/27
- Re: environment variable don't get coding conversion, Kenichi Handa, 2003/01/26