Re: Reverting ext/mbstring patch
| From: | Moriyoshi Koizumi | Date: | Wed, 02 Mar 2011 20:51:07 +0000 |
| Subject: | Re: Reverting ext/mbstring patch | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-51545@lists.php.net to get a copy of this message | ||
Hey,
I think I can fix it somehow. Please don't be haste with it. I am
going to look into it.
Moriyoshi
On Tue, Mar 1, 2011 at 11:35 PM, Dmitry Stogov <dmitry@zend.com> wrote:
> Hi,
>
> I'm going to revert Moriyoshi patch from December and some following fixes.
>
> I like the idea of the patch, but it just doesn't work as expected.
> It breaks 10 tests, but in general it breaks most things related to Unicode
> (declare statement, multibyte scripts, exif support for Unicode, multibyte
> POST requests).
>
> I tried to fix it myself, but I just can't understand how it should work
> (it's too big). It also has several places where integers messed with
> pointers, old API messed with new one and so on.
>
> I'm going to revert (apply the attached patch) on Thursday.
>
> Following is the list of failed tests:
>
> Shift_JIS request [tests/basic/029.phpt]
> Testing declare statement with several type values
> [Zend/tests/declare_001.phpt]
> Zend Multibyte and ShiftJIS
> [Zend/tests/multibyte/multibyte_encoding_001.phpt]
> Zend Multibyte and UTF-8 BOM
> [Zend/tests/multibyte/multibyte_encoding_002.phpt]
> Zend Multibyte and UTF-16 BOM
> [Zend/tests/multibyte/multibyte_encoding_003.phpt]
> encoding conversion from script encoding into internal encoding
> [Zend/tests/multibyte/multibyte_encoding_005.phpt]
> 086: bracketed namespace with encoding [Zend/tests/ns_086.phpt]
> Check for exif_read_data, Unicode user comment [ext/exif/tests/exif003.phpt]
> Check for exif_read_data, Unicode WinXP tags [ext/exif/tests/exif004.phpt]
> Test mb_get_info() function [ext/mbstring/tests/mb_get_info.phpt]
>
> Thanks. Dmitry.
>