Commit Graph

791 Commits

Author SHA1 Message Date
Pierre Joye
6be168b22d - add skipif 2011-09-06 06:44:59 +00:00
Stanislav Malyshev
8d4848f3d3 fix test 2011-09-04 05:00:30 +00:00
Stanislav Malyshev
7f6f4cc587 test fixes 2011-09-04 04:57:01 +00:00
Rui Hirokawa
3826549770 MFH: added alias for *-mobile encodings. 2011-08-31 13:19:03 +00:00
Rui Hirokawa
402c8cb70e MFH: reduced footprint for sjis-mac 2011-08-28 04:32:33 +00:00
Rui Hirokawa
4a53bdab0b MFH: corrected valid unicode area. 2011-08-27 01:25:24 +00:00
Rui Hirokawa
d19bfc5d82 MFH: update pua conversion tables. 2011-08-27 00:08:02 +00:00
Rui Hirokawa
942dd584d3 MFH: added iso2022jp-mobile and emoji unsuppoted in unicode 6.0. 2011-08-24 15:29:17 +00:00
Pierre Joye
1d4f05bb31 - fix typo & build 2011-08-22 07:39:09 +00:00
Rui Hirokawa
84ee3a19db MFH: cleanup jisx0213 table. 2011-08-21 05:02:33 +00:00
Rui Hirokawa
80c431e00c MFH: speed improvement of jisx0213 conversion. 2011-08-21 02:23:33 +00:00
Rui Hirokawa
e2ccaeb9a6 MFH: removed SJIS-Mobile#*PUA. 2011-08-20 08:28:40 +00:00
Rui Hirokawa
d6303c7962 MFH: updated limbfl to 1.3.2 2011-08-20 07:29:21 +00:00
Rui Hirokawa
bbdf05c1ed MFH: added gb18030 encoding to mbstring/libmbfl.~ 2011-08-14 14:11:29 +00:00
Rui Hirokawa
780d4996f6 MFH: 2011-08-13 13:19:18 +00:00
Pierrick Charron
2603ceb0b1 Remove unused variable 2011-08-10 01:12:52 +00:00
Rui Hirokawa
ee0bb4d413 MFH: reduced memory footprint for codepages. 2011-08-08 16:15:39 +00:00
Pierrick Charron
e03d19a00e Remove unused variables 2011-08-07 06:37:22 +00:00
Rui Hirokawa
274799678f MFH: changed mapping of 0xa5 for SJIS-mac to prevent XSS. 2011-08-06 15:24:31 +00:00
Rui Hirokawa
786d8e7bc2 MFH: fixed encoding conversion when http_input=auto. 2011-08-06 12:19:33 +00:00
Rui Hirokawa
5709c83d93 MFH: improved error handling for ill-formed utf-8 based on the Unicode recommendation. 2011-08-06 04:28:26 +00:00
Rui Hirokawa
d322b26fb4 MFH: added ill-formed utf-8 check for 0xEDXXXX. 2011-08-06 02:22:38 +00:00
Rui Hirokawa
7bc77208f3 MFH (updated libmbfl version to 1.3.1). 2011-08-06 01:49:10 +00:00
Rui Hirokawa
1be5479980 MFH (added check for invalid utf-8 encoding). 2011-08-05 04:34:16 +00:00
Rui Hirokawa
7819bb79c7 MFH (removed obsolete/invalid 5,6 byte encoding of UTF-8 from mbstring/libmbfl based on Unicode 5.2. 2011-08-04 12:51:40 +00:00
Rui Hirokawa
bf6827697b fixed error handling on SJIS_Mobile (for SB/KDDI). 2011-08-03 11:55:43 +00:00
Rui Hirokawa
1735305f34 fixed error handling on SJIS_Mobile. 2011-08-03 11:51:08 +00:00
Rui Hirokawa
c5a650e815 MFH (updated libmbfl for 1.3.0.). 2011-08-02 03:50:10 +00:00
Stanislav Malyshev
3b7cdd0227 fix failing tests 2011-08-01 01:00:57 +00:00
Felipe Pena
4b30846b50 - Make usage of new PHP_FE_END macro 2011-07-25 11:35:02 +00:00
Rui Hirokawa
f191ecaa9c added numeric entities encode/decode in hex format. 2011-07-18 08:21:48 +00:00
Felipe Pena
907fd926e5 - Restore basename in filename on non Windows OS 2011-06-12 15:15:44 +00:00
Gustavo André dos Santos Lopes
db01e840c2 - Fixed bug #54494: mb_substr() mishandles UTF-32LE and UCS-2LE. 2011-04-09 16:59:36 +00:00
Dmitry Stogov
bbc879b587 Fixed multibyte related issues 2011-03-14 16:00:59 +00:00
Moriyoshi Koizumi
b2ddc6de23 Fix ZTS build. 2011-03-06 07:06:55 +00:00
Moriyoshi Koizumi
cdb9ee0d1a Fix zend.multibyte oddities. Hope this will address all the known problems. 2011-03-06 07:00:30 +00:00
Scott MacVicar
0413cf5b48 XFAIL these for the moment, Kalle totally broke these in 298241
when removing register_globals
2011-02-03 17:07:48 +00:00
Scott MacVicar
c10b7e3ac2 Fix crash with mbstring, this probably isn't the correct behaviour but 272/276 of the tests pass after this.
When mbstring.language is unset, it ends up being mbfl_no_language_neutral and there is no default when setting the encoding.

internal_encoding and current_internal_encoding then end up being null.
2011-01-27 11:47:31 +00:00
Felipe Pena
0203cc3d44 - Year++ 2011-01-01 02:17:06 +00:00
Rui Hirokawa
7f055f54a2 fixed compile error with VS2008. 2010-12-20 14:38:08 +00:00
Moriyoshi Koizumi
7cbe5f164a WS 2010-12-19 17:28:57 +00:00
Moriyoshi Koizumi
bbf3d43c1e * Refactor zend_multibyte facility.
Now mbstring.script_encoding is superseded by zend.script_encoding.
2010-12-19 16:36:37 +00:00
Pierre Joye
a7ffa09e18 - add PHP_INSTALL_HEADERS to all parts (core&exts) exposing headers, generate the install-headers cmd 2010-12-11 22:18:10 +00:00
Dmitry Stogov
755c2cd0d8 Removed compile time dependency from ext/mbstring 2010-12-08 11:27:34 +00:00
Dmitry Stogov
ab93d8c621 Added multibyte suppport by default. Previosly php had to be compiled with --enable-zend-multibyte. Now it can be enabled or disabled throug zend.multibyte directive in php.ini 2010-11-24 05:41:23 +00:00
Moriyoshi Koizumi
aef6ac02f5 - Fix bug #53273 (mb_strcut() returns garbage with the excessive length parameter). 2010-11-09 03:23:04 +00:00
Patrick Allaert
e2e76d40e3 - Fixed tests not passing under windows because of the directory separator
difference (thanks Eyal Teutsch for reporting)
2010-11-08 09:29:15 +00:00
Gustavo André dos Santos Lopes
99807e9a72 - Moved ucgendat.c to a separate directory and included the
OpenLDAP license there, as required by the license itself.
2010-10-05 02:34:35 +00:00
Gustavo André dos Santos Lopes
42dae97fd4 - Fixed bug #52981 (Unicode casing table was out-of-date).
Updated with UnicodeData-6.0.0d7.txt and included the
  source of the generator program with the distribution.
#The replaced tables, generated circa 2002, seem to reflect
#Unicode 3.2. I was unable to generate the same property
#offsets with Unicode 3.2 data, but all the tests I made
#indicate php_unicode_is_prop() is returning the correct
#values. The replaced file merely says it used a "modified
#version" of ucgendat, which is not very helpful. The results
#I got were not significantly different, only slightly higher
#offsets at two properties, which were carried over to the
#subsequent properties.
#I was, however, able to replicate precisely the casing table.
#The extent of the "modifications" besides omitting most of
#the tables, a slightly different layout and the casing table
#offsets having been multiplied by 3 is unclear.
#The test suite showed no regressions; however, it's very poor
#in testing the modified portion of the extension.
2010-10-05 01:54:17 +00:00
Felipe Pena
a9953ca3d4 - Fixed bug #52931 (strripos not overloaded with function overloading enabled) 2010-09-27 23:09:00 +00:00