Commit Graph

164 Commits

Author SHA1 Message Date
Sara Golemon
42524ff33f Some unicode upgrades... 2008-01-21 07:30:49 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Antony Dovgal
6905cf2982 detect IBM iconv implementation and use correct encoding names 2007-12-04 11:26:54 +00:00
Antony Dovgal
476f214c53 initialize correct variable 2007-11-01 19:13:28 +00:00
Yiduo (David) Wang
95da0dc570 Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:15:07 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Antony Dovgal
22dff490b0 fix coverity issue #412 2007-09-27 09:18:36 +00:00
Antony Dovgal
6b3e9fe528 plug leak on error (coverity issue #407) 2007-09-21 13:41:02 +00:00
Stanislav Malyshev
39253a5418 better fix for iconv_substr 2007-09-20 22:38:25 +00:00
Stanislav Malyshev
6d5fce416f MFB length check fix (Mattias Bengtsson) 2007-09-20 21:57:11 +00:00
Stanislav Malyshev
71929ac5ee limit iconv parameter sizes - workaround for libc bug 2007-09-19 00:37:43 +00:00
Ilia Alshanetsky
373ae24839 MFB 2007-05-28 23:52:13 +00:00
Antony Dovgal
4b3197ce2b initialize errno 2007-01-24 00:33:44 +00:00
Antony Dovgal
cece486d78 fix #40129 (iconv extension doesn't compile with CodeWarrior on Netware)
patch by gk at gknw dot de
2007-01-17 20:31:49 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Antony Dovgal
a30e5b9920 use safe_emalloc() 2006-12-25 20:44:28 +00:00
Hannes Magnusson
460360ae53 MFB:
- Fixed incorrect function names on FreeBSD where inet_pton() was named
        __inet_pton() and inet_ntop() was named __inet_ntop()
- Fixed bug #39685 (iconv() - undefined function)
- Fixed bug #38852 (XML-RPC Breaks iconv)
2006-12-20 10:38:24 +00:00
Ilia Alshanetsky
0252643b32 MFB: Fixed bug #37773 (iconv_substr() gives "Unknown error" when string
length = 1").
2006-11-15 18:35:18 +00:00
Hannes Magnusson
176b72284c Error message clean up
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Antony Dovgal
276d063355 improve spelling (fixes #38780) 2006-09-12 17:26:24 +00:00
Michael Wallner
83eac101c3 - fix crash when unicode.sematics are enabled and unicode.output_encoding doesn't match iconv.internal_encoding 2006-09-09 12:10:28 +00:00
Michael Wallner
f8ff78deab -fix warnings 2006-09-07 14:21:02 +00:00
Michael Wallner
60274e3944 - use ucnv_compareNames
- check output_context->op for PHP_OUTPUT_HANDLER_CLEAN instead of php_output_get_status()
2006-09-07 14:20:16 +00:00
Michael Wallner
07f81e7fe4 - upgrade ob_iconv_handler 2006-09-06 20:49:03 +00:00
Antony Dovgal
bb89a868c4 do not search for empty strings with strpos() and strrpos() 2006-09-06 12:07:27 +00:00
Antony Dovgal
32ff2a16fe minor changes in iconv_substr() to avoid zval converting 2006-08-31 11:17:37 +00:00
Antony Dovgal
21b0d97a6d fix leak 2006-08-30 16:12:27 +00:00
Hannes Magnusson
587311d07e Added argument info
Fixed protos
Fixed vim folding
2006-06-17 13:00:21 +00:00
Andrei Zmievski
f2ef84a495 Move GINIT definition above re-definition of iconv. Gah. 2006-06-13 15:57:46 +00:00
Dmitry Stogov
943960c324 Added automatic module globals management 2006-06-13 13:12:20 +00:00
Moriyoshi Koizumi
35598a2821 - Remove fprintf() used for debugging 2006-04-27 03:53:01 +00:00
Moriyoshi Koizumi
923978e0ff - Fix bug #37176 (iconv_strpos() fails to find a string) 2006-04-27 00:49:17 +00:00
Derick Rethans
16920d54c7 - Fixed issue with iconv_mime_decode where the "encoding" would only allow
upper case specifiers.
#- See RFC 2047, section 2.
2006-02-24 16:04:55 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
Antony Dovgal
1518ba3bf7 fix #35692(iconv_mime_decode() segfault, with libiconv only) 2005-12-15 22:47:27 +00:00
foobar
a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
Antony Dovgal
0bd9c3d109 use constants instead of their values 2005-10-20 16:50:43 +00:00
Antony Dovgal
492a1e4124 MF51: fix #34757 (iconv_substr() gives "Unknown error" when offset > string length) 2005-10-11 13:59:18 +00:00
Antony Dovgal
fb8258e8b7 fix phpinfo() output for iconv extension
(convert unicode values to string before outputting them)
2005-09-08 11:48:07 +00:00
Andrei Zmievski
264cec8be6 Unicode support. 2005-08-11 23:36:07 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Ilia Alshanetsky
0c6368d44b Fixed bug #33268 (iconv_strlen() works only with a parameter of < 3 in length) 2005-06-08 23:49:38 +00:00
Moriyoshi Koizumi
8f14211e13 - Add sanity check in iconv_mime_encode(). Leaving the third parameter
unspecified would yield bus error.
2005-03-23 23:06:38 +00:00
Derick Rethans
ce022d2723 - Export "php_iconv_string()". 2004-11-23 09:44:54 +00:00
Antony Dovgal
f370d0290f fix compile warning 2004-08-13 14:52:27 +00:00
Moriyoshi Koizumi
f89486a3a0 - Fix possible leaks / segfaults in persistent filter 2004-07-20 18:46:39 +00:00
Moriyoshi Koizumi
967c72865f - Fix a bug in iconv stream filter that prevents pending buckets from being
processed on flush operation (same issue pollita fixed several days ago).
2004-07-19 08:34:18 +00:00
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Moriyoshi Koizumi
06232e4818 Prevent a character from being wrongly doubled in the buffer. 2004-01-06 14:22:54 +00:00
Moriyoshi Koizumi
3d618a2f00 Just laugh at me :) 2003-12-27 23:07:47 +00:00