utf8_mime2text() decodes RFC 2047 encoded words. It does not, and was never intended to, decode RFC 2231 extended parameters.
The application is responsible for assembling RFC 2231 extended parameters, and then calling utf8_mime2text() on the assembly if desired. -- Mark -- http://panda.com/mrc Democracy is two wolves and a sheep deciding what to eat for lunch. Liberty is a well-armed sheep contesting the vote. > Date: Tue, 5 Aug 2008 17:11:47 -0500 > From: [EMAIL PROTECTED] > To: imap-uw@u.washington.edu > Subject: [Imap-uw] utf8_mime2text doesn't decode "ISO-8859-1''%..." > > I have a message from the latest thunderbird client that is setting the > filename as: > > Content-Disposition: inline; > filename*0*=ISO-8859-1''%65%78%65%6D%70%6C%65%2D%64%E9%64%E9%6D%2D%31%2E; > filename*1*=%35%2E%70%64%66 > > The issue is that utf8_mime2text isn't decoding the filename. Is there an > update to c-client that > will correctly decode the filename? c-client is handling the filename*#* > correctly, just not > decoding it. > _______________________________________________ > Imap-uw mailing list > Imap-uw@u.washington.edu > http://mailman2.u.washington.edu/mailman/listinfo/imap-uw _________________________________________________________________ Got Game? Win Prizes in the Windows Live Hotmail Mobile Summer Games Trivia Contest http://www.gowindowslive.com/summergames?ocid=TXT_TAGHM_______________________________________________ Imap-uw mailing list Imap-uw@u.washington.edu http://mailman2.u.washington.edu/mailman/listinfo/imap-uw