Re: env vars in HEAD/proc_open() issue?
| From: | Johannes Schlüter | Date: | Wed, 30 Jul 2008 14:14:02 +0000 |
| Subject: | Re: env vars in HEAD/proc_open() issue? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-39464@lists.php.net to get a copy of this message | ||
Hi,
On Wed, 2008-07-30 at 14:01 +0100, Steph Fox wrote:
> While merging ext/phar to HEAD, I found that environmental variables set in
> tests using the --ENV-- section fail to make it as far as the SAPI. Same
> with any other env var setting (e.g. my new '-x' parameter to run-tests.php
> fails too).
[...]
> Can anyone on a different platform please confirm/give further clues?
This also affects many other tests, like MySQL ones (see recent posting
from Ulf on qa@)
The issue is that there's a mix-up between our internal encoding
(utf-16) and the outside one. I don't know if there's a good way to get
the shell encoding to be used when converting to UTF-16 or if we should
use [script|runtime|filesystem|output|fallback|stream]_encoding - For me
all of them look wrong.
johannes