Re: [PHP-I18N] iconv with UTF-7-IMAP support

2004-05-29 Thread Moriyoshi Koizumi
On 2004/05/23, at 2:32, Bjai wrote: To summarize I think it is required to add a null character to end each UTF-7 IMAP encoded character: result = iconv(cd, (char **) NULL, &in_left, (char **) &out_p, &out_left); I have made several attempts to add the above line into the php_iconv_string functi

[PHP-I18N] iconv with UTF-7-IMAP support

2004-05-22 Thread Bjai
I have recently found someone that has written a patch for iconv library to support UTF-7-IMAP encoding (http://www.technoids.org/utf7imap/index.html). Within the patching instruction it is required to edit the iconv library file of PHP in order to handle idiosncrasies #2 (there is an example of ed