Re: Zend Multibyte support

From: Date: Thu, 03 Nov 2011 10:40:10 +0000
Subject: Re: Zend Multibyte support
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-56026@lists.php.net to get a copy of this message
$ sapi/cli/php -d zend.multibyte=1 -d zend.script_encodinSJIS -d mbstring.internal_encoding=UTF8 -d mbstring.output_encoding=UTF8 sjis..php 表 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=1 -d zend.script_encoding=SJIS sjis.php> tt It became "?" instead of "表".. It seems something wrong. Thanks for you time. -- Yasuo Ohgaki yohgaki@ohgaki.net On Thu, Nov 3, 2011 at 6:27 PM, Yasuo Ohgaki<yohgaki@ohgaki.net> wrote:
Hi Dimity, Now it seems working as it supposed. Thanks. $ ./sapi/cli/php -d zend.multibyte=1 -d zend.script_encoding=SJIS 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=./sapi/cli/php ./run-tests.php -m -c ./php.ini =====================================================================
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
===================================================================== TIME START 2011-11-03 18:23:53 ===================================================================== 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 '=' [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<dmitry@zend.com> wrote:
php -d zend.multibyte=1 -d zend.script_encoding=SJIS sjis.php


« previous php.internals (#56026) next »