From: cajus Date: Wed, 17 Oct 2007 17:05:05 +0000 (+0000) Subject: Moved fixes to trunk X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5ac46e680e92e8e585e88560985ca46d8211a4b8;p=gosa.git Moved fixes to trunk git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7588 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_mail-methods-cyrus.inc b/include/class_mail-methods-cyrus.inc index 58fe60b52..580c18c34 100644 --- a/include/class_mail-methods-cyrus.inc +++ b/include/class_mail-methods-cyrus.inc @@ -133,7 +133,7 @@ class mailMethodCyrus extends mailMethod /* Cut domain name */ $val = preg_replace("/@.*$/","",$val); - $result[]=preg_replace ("/^.*".normalizePreg($folder)."/","INBOX", imap_utf7_decode ($val)); + $result[]=preg_replace ("/^.*".normalizePreg($folder)."/","INBOX", mb_convert_encoding($val, "UTF-8", "UTF7-IMAP")); } }