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

From: Date: Mon, 20 Jan 2003 19:37:05 +0000
Subject: #15630 [Opn->Fbk]: imap_utf7_decode appears to be broken
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-30706@lists.php.net to get a copy of this message
ID: 15630 Updated by: iliaa@php.net Reported By: robert.marchand@umontreal.ca -Status: Open +Status: Feedback Bug Type: IMAP related Operating System: SGI Irix 6.5 PHP Version: 4.2.2 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Seems to work properly with the latest CVS. Previous Comments: ------------------------------------------------------------------------ [2002-11-21 04:20:12] thomas.jarosch@intra2net.de Has the IMAP maintainer responded? As the patch produces UTF16-BE output/input, would it be "legal" to call another PHP function (iconv) within PHP or is it not allowed to depend on another "PHP" function? One could easily add an iconv call at the end of the functions to get the output format right. Or even add an optional paramater for the imap_utf7_decode function to specify the desired output format, "UTF8" as default. ------------------------------------------------------------------------ [2002-11-14 11:01:09] gamid@isayev.net Ok, let fix imap_utf7_encode()/imap_utf7_decode() functions to return UTF-8. In this case they will be BC, when IMAP folder has only ISO-8859-1 (ASCII) characters in its name and will also support international characters. Gamid Isayev ------------------------------------------------------------------------ [2002-11-14 10:28:43] kalowsky@php.net From my understanding Gamid's patches break BC. This is a bad thing typically, and repeated requests for users to voice an opinion have not resulted in any feedback. At this point I feel that the IMAP maintainer should decide if this goes in or not, but he has not answered any emails either. So until I hear back from the IMAP maintainer I don't see this being applied. ------------------------------------------------------------------------ [2002-11-14 09:50:59] thomas.jarosch@intra2net.de Hi, since it's now two months since the last comment on this bug, will Gamid Isayev's patches be applied or not? People really have problems with this bug, as e.g. most webmail applications won't work properly. At least german/austrian/finnish/swedish people have Umlauts in their folder names just to name a few. Best regards, Thomas ------------------------------------------------------------------------ [2002-09-09 22:51:37] kalowsky@php.net All I did was re-commit the SGI compiler changes. I did not do any of the work for the utf7_decode/encode function as this bug states. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/15630 -- Edit this bug report at http://bugs.php.net/?id=15630&edit=1

« previous php.bugs (#30706) next »