[pLog-svn] r2220 - plugins/trunk/moblog/class/moblog

mark at devel.plogworld.net mark at devel.plogworld.net
Tue Jun 14 09:49:01 GMT 2005


Author: mark
Date: 2005-06-14 09:49:00 +0000 (Tue, 14 Jun 2005)
New Revision: 2220

Modified:
   plugins/trunk/moblog/class/moblog/moblogrequest.class.php
Log:
Fix an encoding error with Gmail. I think it is fully tested, I can upload to SF now. :D

Modified: plugins/trunk/moblog/class/moblog/moblogrequest.class.php
===================================================================
--- plugins/trunk/moblog/class/moblog/moblogrequest.class.php	2005-06-13 22:45:56 UTC (rev 2219)
+++ plugins/trunk/moblog/class/moblog/moblogrequest.class.php	2005-06-14 09:49:00 UTC (rev 2220)
@@ -59,7 +59,8 @@
             }
             
             // parse the body
-            $this->parseBody( $structure->body );                                 
+            $this->parseBody( $structure->body );
+            $this->_inputEncoding = strtoupper( $structure->ctype_parameters['charset'] );
             
             MoblogLogger::log( "There are ".count($structure->parts)." MIME parts available to parse" );      
             $this->parseMimeParts( $structure->parts );                        




More information about the pLog-svn mailing list