Commit Graph

45 Commits

Author SHA1 Message Date
Gustavo André dos Santos Lopes
f2cfb997de - Fixed bug #54494: mb_substr() mishandles UTF-32LE and UCS-2LE. 2011-04-09 16:59:36 +00:00
Moriyoshi Koizumi
89d372ba27 - Fix bug #53273 (mb_strcut() returns garbage with the excessive length parameter). 2010-11-09 03:23:04 +00:00
Moriyoshi Koizumi
ea539c8b88 - Update the bundled libmbfl to the latest on upstream. 2010-03-12 04:55:37 +00:00
Moriyoshi Koizumi
8f9acfedb3 - Fix bug #49536 (mb_detect_encoding() returns incorrect results when strict_mode is turned on.)
(patch by komura, thanks!)
2009-09-11 21:26:18 +00:00
Moriyoshi Koizumi
8ae17615d7 - Add support for CP850 encoding (patch by Denis Giffeler) 2009-03-18 17:44:25 +00:00
Moriyoshi Koizumi
823679162d - MFH: strictly check UTF-8 and UTF-32 validity 2009-02-24 13:19:09 +00:00
Moriyoshi Koizumi
446a165f34 - Forgot to include these files. 2009-02-15 07:11:04 +00:00
Moriyoshi Koizumi
88eac1503a - MFH: prevent unwanted overflow 2009-02-14 08:16:05 +00:00
Moriyoshi Koizumi
9d7250d455 - MFH: fix Bug #45923 (mb_st[r]ripos() offset not handled correctly) 2009-02-14 07:34:15 +00:00
Moriyoshi Koizumi
44dece2d95 * MFH: Fix bug #45239 (encoding detector hangs with mbstring.strict_detection
enabled).
2009-02-06 07:33:25 +00:00
Moriyoshi Koizumi
98b5795702 - MFH: Fixed bug #43993 (mb_substr_count() behaves differently to substr_count() with overlapping needles) 2008-08-01 22:56:47 +00:00
Moriyoshi Koizumi
2d08b5aa86 - MFH: Fixed bug #44617 (wrong HTML entity output when substitute_character=entity) 2008-07-31 17:37:12 +00:00
Moriyoshi Koizumi
69fa2e384a - MFH: Bug #45572 2008-07-20 18:26:02 +00:00
Rui Hirokawa
dea0d31baf - added koi8-u (Ukrainian) and CP1254 (Turkish). 2008-07-05 06:52:04 +00:00
Rui Hirokawa
e94f26f356 MFH: added support "entity" as substitute_character settin accoding to bug #39404 2007-09-24 11:51:36 +00:00
Rui Hirokawa
1d44054407 MFH (fixed #42085) 2007-08-19 01:58:39 +00:00
Rui Hirokawa
693c9a7d2c fixed incompatibility with PHP 5.2.0 for encoding conversion between ShiftJIS(CP932), eucJP, ISO-2022-JP. 2007-01-29 22:53:47 +00:00
Rui Hirokawa
96d597b6a4 added japanese legacy encoding support (made by moriyama@miraclelinux.com) 2006-11-03 01:11:35 +00:00
Rui Hirokawa
e8d320dd77 MFH 2006-03-21 07:56:28 +00:00
Rui Hirokawa
6912dab9eb @added possible encoding attack detection by mb_get_info('illegalchars'). 2006-03-21 01:58:27 +00:00
Rui Hirokawa
ef0c0cc62b MFH: fixed #35711, added mbstring.strict_detection to detect the encoding striktly. 2005-12-25 15:23:55 +00:00
Rui Hirokawa
11105b1eed MFH: fixed #35711 ISO-8859 charset not correctly detected. 2005-12-24 04:32:42 +00:00
Rui Hirokawa
4628a41c00 MFH: fixed #29955 mb_strtoupper() / lower() broken with Turkish encoding.. 2005-12-23 15:18:52 +00:00
Rui Hirokawa
00dfb7dc14 MFH: fixed garbled multibyte characters. 2005-11-05 04:49:57 +00:00
Masaki Fujimoto
ca7a649300 - Fix mbfl_encoding_detector_feed() and mbfl_mbfl_identify_encoding() behaviour 2005-04-22 05:03:10 +00:00
Moriyoshi Koizumi
2cba0ab304 - Fix bug #32311 (mb_encode_mimeheader() does not properly escape characters.) 2005-03-23 23:22:16 +00:00
Moriyoshi Koizumi
542901d705 - Add Armenian encoding / NLS (patch by Hayk Chamyan) 2005-03-22 22:22:11 +00:00
Moriyoshi Koizumi
d2627b5107 - Synch with the latest checkouts. (include fix by Joe Orton. Thanks.) 2005-02-23 13:35:34 +00:00
Moriyoshi Koizumi
e8901dc170 - Fix bug #30573 (compiler warning due to invalid type cast) 2005-02-21 10:12:43 +00:00
Moriyoshi Koizumi
5b5e012bc2 - Update libmbfl (fixes bug #30549 and #31911).
- Update oniguruma to 3.7.0
2005-02-20 22:18:09 +00:00
Moriyoshi Koizumi
4f247de89b - Sync with the latest codebase (fixes bug #28220). 2004-10-08 14:40:46 +00:00
Derick Rethans
b3b2192a1e - Added mb_list_encoding() to return an array with all mbstring supported
encodings.
2004-03-08 22:18:05 +00:00
Marcus Boerger
4a3c015dd7 Fix annoying warning 2004-02-04 23:41:58 +00:00
Moriyoshi Koizumi
24eb1f6eb2 - Update libmbfl to the latest. This fixes several serious issues in the html
entity encoder and the encoding detection facility. There should be no
  problem with mailparse() as API change was made so carefully that it
  would be as small as possible.
2004-02-04 07:24:08 +00:00
Moriyoshi Koizumi
b2402396a9 - Suppress a compiler warning by a rather useless typecasting. 2004-01-26 00:27:24 +00:00
Moriyoshi Koizumi
e226ed0e21 - Fix bug #26699 (mbstring encoding types does not include "binary"). 2004-01-26 00:19:25 +00:00
Moriyoshi Koizumi
0d2c100a4f It'd be a bad idea to make subpackages dependent on the php build system. 2003-12-04 22:49:46 +00:00
Rui Hirokawa
25bb0d16a9 fixed win32-build and update e-mail address in mbstring. 2003-09-23 02:43:04 +00:00
Ilia Alshanetsky
a7f2ec3cdb Fixed compile warnings. HAVE_ defines cannot work without the header that
defines them.
2003-09-17 05:42:57 +00:00
Moriyoshi Koizumi
e49c59038c Sync with original 2003-08-25 01:44:17 +00:00
Moriyoshi Koizumi
ebcdf6f299 Sync with the original 2003-08-24 20:07:13 +00:00
Rui Hirokawa
6b92fbdef9 revert previous patch. 2003-08-23 10:04:43 +00:00
Rui Hirokawa
697ce0776f revert my patch. 2003-08-23 08:27:46 +00:00
Rui Hirokawa
c8b525859d strcasecmp macro moved to mbfl_compat.h. 2003-08-23 08:26:46 +00:00
Rui Hirokawa
5a80df26f3 @mbfilter is changed to bundled version of libmbfl to prevent LGPL licence problem. mbregex is changed to oniguruma. 2003-08-23 06:18:44 +00:00