ID:               44098
 User updated by:  steffen at dislabs dot de
 Reported By:      steffen at dislabs dot de
-Status:           No Feedback
+Status:           Open
 Bug Type:         IMAP related
 Operating System: FreeBSD 6.2
 PHP Version:      5.2.5
 Assigned To:      fb-req-jani
 New Comment:

I'm happy that i'm not the only one. Sry for not posting details, but i
develop on the server but i'm not the admin, so i have no admin account
for the server.

Actually i use a workaround but i would happy if the problem could be
solved.

My workarround:
#
private function imap_utf8($string) {
  return iconv_mime_decode($string,0,"UTF-8");
}


Previous Comments:
------------------------------------------------------------------------

[2008-04-17 21:51:23] brett at fogcreek dot com

Here is the php5-imap info:

$ aptitude show php5-imap
Package: php5-imap
State: installed
Automatically installed: yes
Version: 5.2.3-0ubuntu3
Priority: optional
Section: universe/web
Maintainer: Ubuntu MOTU Developers <[EMAIL PROTECTED]>
Uncompressed Size: 176k
Depends: debconf (>= 0.5) | debconf-2.0, libc-client2007, libc6 (>=
2.7-1), libcomerr2 (>= 1.33-3), libkrb53 (>= 1.6.dfsg.2), libpam0g (>=
0.99.7.1), libssl0.9.8 (>= 0.9.8f-1), phpapi-20060613+lfs
Description: IMAP module for php5
 This package provides a module for IMAP functions in PHP scripts.


# ldd /usr/lib/php5/20060613+lfs/imap.so 
        linux-gate.so.1 =>  (0xb7f8d000)
        libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb7f27000)
        libc-client.so.2007 => /usr/lib/libc-client.so.2007 (0xb7e1c000)
        libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb7de9000)
        libpam.so.0 => /lib/libpam.so.0 (0xb7ddf000)
        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0xb7db6000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xb7d29000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xb7d06000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0xb7d03000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7bb3000)
        libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8
(0xb7a71000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7a6d000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7a58000)
        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xb7a50000)
        libkeyutils.so.1 => /lib/libkeyutils.so.1 (0xb7a4c000)
        libresolv.so.2 => /lib/tls/i686/cmov/libresolv.so.2 (0xb7a39000)
        /lib/ld-linux.so.2 (0xb7f8e000)

------------------------------------------------------------------------

[2008-04-17 21:19:10] brett at fogcreek dot com

Confirmed with Ubuntu Hardy Heron's current build of PHP:
5.2.4-2ubuntu5

$ php -v
PHP 5.2.4-2ubuntu5 with Suhosin-Patch 0.9.6.2 (cli) (built: Feb 27 2008
20:43:54) 
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

$ cat test3.php 
<?php
        echo imap_utf8('=?iso-8859-1?b?THV6b26uMTQ=?= dot CoM') . "\n";
?>

$ php test3.php 
LUZONĀ®14 DOT COM

------------------------------------------------------------------------

[2008-04-11 13:47:51] jason at foreflight dot com

I am seeing this too:

Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
CClient: imap-2007a1

------------------------------------------------------------------------

[2008-04-11 01:00:00] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2008-04-03 14:31:46] [EMAIL PROTECTED]

What c-client version did you compile PHP with?

------------------------------------------------------------------------

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/44098

-- 
Edit this bug report at http://bugs.php.net/?id=44098&edit=1

Reply via email to