Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71608 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13956 invoked from network); 26 Jan 2014 22:32:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jan 2014 22:32:17 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.177 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.217.177 mail-lb0-f177.google.com Received: from [209.85.217.177] ([209.85.217.177:46106] helo=mail-lb0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 92/27-12631-FEC85E25 for ; Sun, 26 Jan 2014 17:32:16 -0500 Received: by mail-lb0-f177.google.com with SMTP id z5so3928104lbh.36 for ; Sun, 26 Jan 2014 14:32:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=sulQjYMr6sBfFdybfu9VjFnNHjash19QU1jXJ/rx0Ds=; b=j3jKdXqhLERdC25onDMGGKm5/BUSN8kWZz7AMhfCQGAGqeSTBLEoz7/8374K0SiDD4 0Tq/fMwjlUQ9xVzZD2eNey+DCDoQpVsU4CrGGq+0iy7TKIF5I5nbMm4wZXyUb9sE0XQG vh/qDfaTgPlhUWco5uHM0e0jZl7Azk1l4iWmqA3jGxTlSYOuhwbewZp70T9/ZwD6jP9L r/R/og9PXy/TSktO75N+rbkoX9jBRlgt2LnCNUDiKrmG6hab+0zRlBO7Mpwxg7f7DiZf YNDT54zYVxSR9yUcpzypg0BM4pd1YJUzznE0Gur08KRbPxx3ALwCrVid3sQXyXkMFQsI VdGw== X-Received: by 10.112.173.105 with SMTP id bj9mr161648lbc.57.1390775532390; Sun, 26 Jan 2014 14:32:12 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.112.132.134 with HTTP; Sun, 26 Jan 2014 14:31:31 -0800 (PST) In-Reply-To: References: <52E4A992.1050902@sugarcrm.com> <52E56CD1.2060803@sugarcrm.com> Date: Mon, 27 Jan 2014 07:31:31 +0900 X-Google-Sender-Auth: qkjJ_5AVlnLGz18Bce0oJYnFiqw Message-ID: To: Stas Malyshev Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a11c23c08920dea04f0e72952 Subject: Re: [PHP-DEV] Re: [VOTE] Default character encoding From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a11c23c08920dea04f0e72952 Content-Type: text/plain; charset=UTF-8 On Mon, Jan 27, 2014 at 7:18 AM, Yasuo Ohgaki wrote: > On Mon, Jan 27, 2014 at 5:15 AM, Stas Malyshev wrote: > >> > Typical configuration works, but it's better to be resolved soon bugs. >> > I don't have much time now, so I hope someone has time to take care... >> >> Well, we can not merge a patch that segfaults. So until this is fixed, >> that patch is a no go. > > > The patch is not causing segfaults. > > Zend engine is segfaulting for zend_multibyte tests. > It's a separate issue. You'll see segfaults in 5.4 and up without > my patch. > > I've merged zend_multibyte tests fixes already. That's the reason why you > see failing tests on 5.4 and up. > > It's a different issue and if nobody is willing to fix. I'll fix > zend_multibyte > next month. > For the record, I committed this patch to 5.4 and up. As you can see, the patch is simply re-enabled tests for 5.4 and up. (Note: there is no mbstring.script_encoding INI for 5.4 and up. It's removed.) The segfaults of zend engine are irrelevant for this proposal. commit e769c96a1102f33e5783c35b7a7eedf5d81be7b9 Author: Yasuo Ohgaki Date: Sun Jan 19 13:28:48 2014 +0900 Enable zend.multibyte tests. Tipcal configuration works, but most tests fail. diff --git a/ext/mbstring/tests/zend_multibyte-01.phpt b/ext/mbstring/tests/zend_multibyte-01.phpt index d96e0f0..f2403ab 100644 --- a/ext/mbstring/tests/zend_multibyte-01.phpt +++ b/ext/mbstring/tests/zend_multibyte-01.phpt @@ -1,14 +1,9 @@ --TEST-- zend multibyte (1) --SKIPIF-- - --INI-- -mbstring.script_encoding=Shift_JIS +zend.multibyte=On +zend.script_encoding=Shift_JIS mbstring.internal_encoding=Shift_JIS --FILE--