emacs-devel
[Top][All Lists]
Advanced

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

Re: environment variable don't get coding conversion


From: Stefan Monnier
Subject: Re: environment variable don't get coding conversion
Date: Mon, 27 Jan 2003 08:18:57 -0500

> > And what happens if you do (setenv foo bar) and bar is a string which
> > can't be encoded in the coding system specified for environment
> > variables?

What currently happens is that foo gets the internal (i.e. emacs-mule)
encoding of bar, which is more or less guaranteed to be the wrong thing
to do.  So whatever change we make, it won't be much worse than the
current state of affairs.
We could of course require foo and bar to be unibyte strings so as to
force caller to do the encoding.


        Stefan





reply via email to

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