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
Moriyoshi Koizumi
07469af0d9
- Add missing sanity check.
2003-12-27 23:05:23 +00:00
Moriyoshi Koizumi
529dd348b6
- Supply some comments. Hope those help when you have to debug this dead beef.
...
- Fix iconv_mime_decode() to correctly handle "malformed" headers :)
- Fix iconv_mime_decode() bug, that the result is mangled when
ICONV_MIME_CONTINUE_ON_ERROR is enabled and the function encounters an
unconvertable encoded chunk.
2003-12-24 02:36:21 +00:00
Moriyoshi Koizumi
3b7dcf5e65
Those are not structures :-)
2003-12-23 17:10:54 +00:00
Ilia Alshanetsky
cf40d9243d
Fixed compiler warnings.
2003-12-23 17:05:43 +00:00
Moriyoshi Koizumi
1b239fc970
- Fix multibyte handling errors in iconv_mime_encode() when quoted-printable
...
encoding scheme is used.
- Fix segfault that occurs in iconv_mime_encode() when input_charset or
output_charset parameter is not specified in the associative array.
2003-12-22 01:30:00 +00:00
Moriyoshi Koizumi
dcbc570649
Fix iconv stream filter to properly handle multibyte characters that
...
span at the alignment of a hunk.
2003-12-08 00:38:00 +00:00
Moriyoshi Koizumi
a682e0a5c6
Add missing iconv_close() call
2003-12-06 11:10:13 +00:00
Moriyoshi Koizumi
f9470dafe0
Add a missing marker
2003-12-05 09:35:21 +00:00
Wez Furlong
1982ae6246
fix zts build
2003-12-05 03:14:54 +00:00
Moriyoshi Koizumi
4f14ee67fb
Type-punning is evil.
2003-12-04 23:46:53 +00:00
Moriyoshi Koizumi
6fc73dda11
Add iconv stream filter.
...
# a quick synopsis:
#
# <?php
# stream_filter_append(STDIN, 'convert.iconv.UTF-8/ISO-8859-15');
#
# fpassthru(STDIN);
# ?>
#
2003-12-04 23:31:31 +00:00
Moriyoshi Koizumi
3c02eb1ffe
all '_' (underscores) should be replaced by '\x20' (whitespaces)
...
in encoding.
# should I bump API version?
2003-12-02 07:36:42 +00:00
Moriyoshi Koizumi
ca2aaeee5e
Loosen error check. There's no reason to forbid a single '=' occurrence
...
in an unencoded string.
Fix white space handing. Meaningful spaces have got stripped wrongly
before this patch.
2003-12-01 23:49:20 +00:00
Moriyoshi Koizumi
1b8dd3ba21
Allow iconv_mime_decode_headers() to handle multiple occurence of a header.
2003-12-01 23:25:06 +00:00
Moriyoshi Koizumi
869493d4e6
Add iconv_mime_decode_headers() to parse multiple MIME headers.
...
A few trivial fixes.
2003-12-01 22:46:45 +00:00
Moriyoshi Koizumi
93e0d690ee
More RFC2047 conformance. Add ability to forcefully continue processing
...
on error.
2003-12-01 21:47:19 +00:00
Moriyoshi Koizumi
fd28ad3e8c
Fixed bug #26194 (iconv() not properly defined with libiconv).
...
# Thank you Steph and Frank!
2003-11-22 13:36:55 +00:00
Moriyoshi Koizumi
8e1bbd9aea
Proto fix
2003-11-02 18:54:08 +00:00
Moriyoshi Koizumi
fd8411635e
Slight improvement. Hope this will make some difference.
2003-08-13 18:21:06 +00:00
Ilia Alshanetsky
025c35a58b
Fix compiler warnings.
2003-08-12 04:19:06 +00:00
foobar
57ca69c014
Revert the fix for now
2003-07-30 21:56:45 +00:00
foobar
81c5e49a68
Fix build on certain platforms which do not accept #include FOOBAR
2003-07-30 14:09:42 +00:00
Moriyoshi Koizumi
80a8ff3a43
Fixed segfault due to reference to the already free'd block :)
2003-07-06 21:30:23 +00:00
Moriyoshi Koizumi
8d850b4c3a
Improved iconv_mime_encode() interface
2003-07-06 21:19:08 +00:00
Moriyoshi Koizumi
716a34a4d0
Avoid miscellaneous conflicts between glibc's iconv and libiconv.
2003-07-06 21:08:50 +00:00
Andrey Hristov
3e95de04a9
proto fix
2003-06-16 13:32:00 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
Moriyoshi Koizumi
0f1f635d00
Fixed ob_iconv_handler() type mismatch issue on 64bit platforms.
...
Patch by Joe Orton <jorton@redhat.com>
2003-06-04 14:29:43 +00:00
Stig Bakken
0e6fca4f22
* email address change
2003-03-18 12:06:09 +00:00
David Hill
5c90216d2c
64-bit correction to variables passed to zend_parse_parameters
...
@64-bit correction to variables passed to zend_parse_parameters (Dave)
2003-03-06 23:07:28 +00:00
Moriyoshi Koizumi
aa40a02de8
64bit long fix
2003-03-04 17:18:40 +00:00
Ilia Alshanetsky
a7b91019e9
Removed pointless memory allocation checks.
2003-01-18 19:49:28 +00:00
Moriyoshi Koizumi
3ae7d13bc9
Appended my name to the list of authors
2003-01-14 19:26:00 +00:00
Moriyoshi Koizumi
6a1d69d4ba
Added missing cast operators
2003-01-10 04:32:25 +00:00
Moriyoshi Koizumi
4c2d6cfea8
Moved php_quot_print_decode() to quot_print.c so that it can be used
...
outside the iconv module
2003-01-06 15:47:25 +00:00
Moriyoshi Koizumi
d0570815af
Added more RFC2047-compliancy check in iconv_mime_decode()
2003-01-06 15:40:22 +00:00
Moriyoshi Koizumi
6f44489b68
Fixed iconv_mime_decode() so that it comforms to RFC2231
2003-01-06 15:35:42 +00:00
Moriyoshi Koizumi
0d0127fbfb
Fixed cut'n'paste failure
2003-01-04 13:52:54 +00:00
Moriyoshi Koizumi
006b455c6a
Fixed an iconv_strrpos() bug that the function doesn't return accurate
...
position of last occurrence
2003-01-03 20:01:13 +00:00
Moriyoshi Koizumi
3149fc7c40
Added offset validity check for iconv_strpos()
2003-01-03 14:29:49 +00:00
Moriyoshi Koizumi
a3330b5ab3
Fixed iconv_mime_decode() so it would give more awareness to stateful codesets
2003-01-03 05:38:50 +00:00
Moriyoshi Koizumi
e1dd919204
Fixed infinite loop of iconv_mime_encode() in case the specified line length is too short to contain a proper mime-encoded string
2003-01-03 05:34:05 +00:00
Moriyoshi Koizumi
c703ad78d0
Give mo' shift-sequence awareness to iconv_mime_encode
2003-01-03 05:32:13 +00:00