[dev] problem reporting message fix

Vilius Sumskas vilius at lnk.lt
Mon Oct 4 06:06:13 PDT 2004


Hi,

all problem reporting messages were encoded in us-ascii charset. This patch
fixes this.

-- 
   Best Regards,

   Vilius Sumskas
   LNK TV system administrator
   mob.: +370 614 75713
   www.lnk.lt
-------------- next part --------------
Index: problem.php
===================================================================
RCS file: /repository/horde/services/problem.php,v
retrieving revision 2.109
diff -u -r2.109 problem.php
--- problem.php	25 Sep 2004 01:17:41 -0000	2.109
+++ problem.php	4 Oct 2004 13:02:51 -0000
@@ -83,7 +83,7 @@
             "\nand is using the following browser:\n$user_agent\n\n$message";
 
         $mime = &new MIME_Message();
-        $body = &new MIME_Part('text/plain', Text::wrap($message, 80, "\n"));
+        $body = &new MIME_Part('text/plain', Text::wrap($message, 80, "\n"), NLS::getCharset());
 
         $mime->addPart($body);
         $msg_headers->addMIMEHeaders($mime);


More information about the dev mailing list