Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39464 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13720 invoked from network); 30 Jul 2008 14:14:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jul 2008 14:14:11 -0000 Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 83.243.58.163 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 83.243.58.163 mail4.netbeat.de Received: from [83.243.58.163] ([83.243.58.163:56799] helo=mail4.netbeat.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BB/DC-60483-F2770984 for ; Wed, 30 Jul 2008 10:14:11 -0400 Received: (qmail 25982 invoked by uid 507); 30 Jul 2008 14:14:02 -0000 Received: from ppp-82-135-12-253.dynamic.mnet-online.de (HELO ?192.168.1.101?) (postmaster%schlueters.de@82.135.12.253) by mail4.netbeat.de with ESMTPA; 30 Jul 2008 14:14:02 -0000 To: Steph Fox Cc: internals In-Reply-To: <01fc01c8f244$6215c170$a7bd614d@foxbox> References: <01fc01c8f244$6215c170$a7bd614d@foxbox> Content-Type: text/plain Date: Wed, 30 Jul 2008 16:14:02 +0200 Message-ID: <1217427242.5408.11.camel@goldfinger.johannes.nop> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 (2.22.3.1-1.fc9) Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] env vars in HEAD/proc_open() issue? From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) 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