Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56026 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49177 invoked from network); 3 Nov 2011 10:40:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Nov 2011 10:40:16 -0000 Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.199.177.89 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 212.199.177.89 il-mr1.zend.com Received: from [212.199.177.89] ([212.199.177.89:33144] helo=il-mr1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0C/B5-14104-F8F62BE4 for ; Thu, 03 Nov 2011 05:40:16 -0500 Received: from il-gw1.zend.com (unknown [10.1.1.22]) by il-mr1.zend.com (Postfix) with ESMTP id CB05C60777; Thu, 3 Nov 2011 12:38:49 +0200 (IST) Received: from ws.home (10.1.10.16) by il-ex2.zend.net (10.1.1.22) with Microsoft SMTP Server id 14.1.255.0; Thu, 3 Nov 2011 12:39:27 +0200 Message-ID: <4EB26F8A.7010402@zend.com> Date: Thu, 3 Nov 2011 14:40:10 +0400 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110928 Fedora/3.1.15-1.fc14 Lightning/1.0b3pre Thunderbird/3.1.15 MIME-Version: 1.0 To: Yasuo Ohgaki CC: References: <4EB23E3D.3010908@zend.com> <4EB25BF3.7040703@zend.com> In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed X-Originating-IP: [10.1.10.16] Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Zend Multibyte support From: dmitry@zend.com (Dmitry Stogov) $ sapi/cli/php -d zend.multibyte=3D1 -d zend.script_encodinSJIS -d=20 mbstring.internal_encoding=3DUTF8 -d mbstring.output_encoding=3DUTF8 sjis= .php =E8=A1=A8 Too many different encodings :) Thanks. Dmitry. On 11/03/2011 01:38 PM, Yasuo Ohgaki wrote: > Oops, I thought "?" was due to terminal encoding, but I double checked = with > redirecting to a file. > > $ ./sapi/cli/php -d zend.multibyte=3D1 -d zend.script_encoding=3DSJIS s= jis.php> tt > > It became "?" instead of "=E8=A1=A8".. > It seems something wrong. > > Thanks for you time. > > -- > Yasuo Ohgaki > yohgaki@ohgaki.net > > On Thu, Nov 3, 2011 at 6:27 PM, Yasuo Ohgaki wrote= : >> Hi Dimity, >> >> Now it seems working as it supposed. Thanks. >> >> $ ./sapi/cli/php -d zend.multibyte=3D1 -d zend.script_encoding=3DSJIS = sjis.php? >> (? is due to my terminal encoding. It sets to UTF-8) >> >> It seems LEAK problem was gone with PHP 5.4, too. >> >> [yohgaki@dev php-src-5.4]$ TEST_PHP_EXECUTABLE=3D./sapi/cli/php >> ./run-tests.php -m -c ./php.ini >> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> PHP : ./sapi/cli/php >> PHP_SAPI : cli >> PHP_VERSION : 5.4.0RC1-dev >> ZEND_VERSION: 2.4.0 >> PHP_OS : Linux - Linux dev.inter.es-i.jp 2.6.35.14-2m.mo7.x86_64 >> #1 SMP Mon Sep 12 11:09:50 JST 2011 x86_64 >> INI actual : /home/yohgaki/ext/svn/oss/php.net/php-src-5.4/php.ini >> More .INIs : >> CWD : /home/yohgaki/ext/svn/oss/php.net/php-src-5.4 >> Extra dirs : >> VALGRIND : valgrind-3.6.1 >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> TIME START 2011-11-03 18:23:53 >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> PASS EXPECT [tests/run-test/test001.phpt] >> PASS EXPECTF [tests/run-test/test002.phpt] >> PASS EXPECTREGEX [tests/run-test/test003.phpt] >> PASS INI section allows '=3D' [tests/run-test/test004.phpt] >> PASS Error message handling (without ZendOptimizer) >> [tests/run-test/test005.phpt] >> PASS Error messages are shown [tests/run-test/test006.phpt] >> PASS dirname test [tests/run-test/test007.phpt] >> >> >> -- >> Yasuo Ohgaki >> yohgaki@ohgaki.net >> >> >> >> On Thu, Nov 3, 2011 at 6:16 PM, Dmitry Stogov wrote: >>> php -d zend.multibyte=3D1 -d zend.script_encoding=3DSJIS sjis.php >>