--- imap.inc.orig	2006-09-27 10:51:22.408713456 +0200
+++ imap.inc	2006-09-27 10:50:26.982139576 +0200
@@ -225,7 +225,9 @@
 
 function iil_C_Login(&$conn, $user, $password){
 
-    fputs($conn->fp, "a001 LOGIN $user \"$password\"\r\n");
+    // $passwords needs to be utf8_decode'd so that the german umlauts don't
+    // get corrupted. Updated by php@tuxx-home.at, ag
+    fputs($conn->fp, "a001 LOGIN $user \"" . utf8_decode($password) . "\"\r\n");
 		
 	do{
 	    $line = iil_ReadReply($conn->fp);

