[PHP-DEV] Re: #15630 [Fbk->Opn]: imap_utf7_decode appears to be broken

2002-08-12 Thread Gamid Isayev
and UTF-8. UTF-8 encoded character is "8 bit" only for ASCII characters. For non-ASCII characters UTF-8 will be two and more bytes. So, imap_utf7_decode() != imap_utf7_utf8_decode(). Gamid Isayev -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: #15630: patch for imap_utf7_encode() and imap_utf7_decode()

2002-08-12 Thread Gamid Isayev
Updated patch for 'ext/imap/php_imap.c'. Gamid Isayev --- php_imap.c 5 Aug 2002 21:53:09 - 1.134 +++ php_imap.c 8 Aug 2002 18:52:47 - @@ -2077,14 +2077,14 @@ php_error(E_WARNING, "%s(): Invalid modified UTF-7

[PHP-DEV] imap_utf7_decode() patch

2002-08-12 Thread Gamid Isayev
fix this this problem I wrote patch for ext/imap/php_imap.c and attache it to this posting. Best regards, Gamid Isayev --- ext/imap/php_imap.c 5 Aug 2002 21:53:09 - 1.134 +++ ext/imap/php_imap.c 7 Aug 2002 15:00:44 - @@ -2077,14 +2077,14 @@ php_error(E_