Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38577 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30418 invoked from network); 24 Jun 2008 14:34:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Jun 2008 14:34:26 -0000 Authentication-Results: pb1.pair.com smtp.mail=stefan.esser@sektioneins.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=stefan.esser@sektioneins.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain sektioneins.de from 85.214.103.31 cause and error) X-PHP-List-Original-Sender: stefan.esser@sektioneins.de X-Host-Fingerprint: 85.214.103.31 h1332034.stratoserver.net Linux 2.6 Received: from [85.214.103.31] ([85.214.103.31:23711] helo=h1332034.stratoserver.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0E/A8-17106-2F501684 for ; Tue, 24 Jun 2008 10:34:26 -0400 Received: from Very-Black-Mac.local (mailout.gs-germany.zend.com [83.236.166.51]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by h1332034.stratoserver.net (Postfix) with ESMTP id 7CA44A245A3; Tue, 24 Jun 2008 16:31:05 +0200 (CEST) Message-ID: <4861060D.503@sektioneins.de> Date: Tue, 24 Jun 2008 16:34:53 +0200 User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: Lukas Kahwe Smith CC: Derick Rethans , Andi Gutmans , Stas Malyshev , Steph Fox , internals References: <00cf01c8c242$f1a6ce10$4401a8c0@foxbox> <10845a340805300354y35e28f30r30eb6e8edebf0ef1@mail.gmail.com> <48422F7C.1030002@zend.com> <698DE66518E7CA45812BD18E807866CE01B113E1@us-ex1.zend.net> <1E9C3FFB-159E-47CC-8BE9-54180AA3356A@pooteeweet.org> In-Reply-To: <1E9C3FFB-159E-47CC-8BE9-54180AA3356A@pooteeweet.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] New flame From: stefan.esser@sektioneins.de (Stefan Esser) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello Lukas, > As such the conclusion can only be that investing any time in readding > this "feature" would be a bad idea. If anyone actually uses this feature > they will have to come out of the woodwork now or when 5.3 is out. At > this point we might have enough information to actually understand how > that feature is used and how we can add it to 5.3. I really don't know what is so hard for you understand with this feature. It switches the Zend Parser into another encoding that is used when reading from blah.php files. (okay there is also some auto detecting magic). The reason for this is very simple. It allows you to write f.e. Japanese in strings. If you use Shift-JIS then several Japanese characters will not work in single byte PHP. The backslash (escaping) character is part of several Japanese characters. In single byte PHP these characters are wrongly considered as escape sequences by the parser while the multi-byte parser realises that they are not escape sequences. The same is true for chinese people using GBK. (afaik GBK is not completely within utf-8) Stefan Esser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkhhBgwACgkQSuF5XhWr2nivWwCghOHAq9l0wrORJ9/3d7a4/RTz Qp0AoJj3zqjxjTgEs1JlJZK5TftsCHcG =rTY0 -----END PGP SIGNATURE-----