Update of /cvsroot/mahogany/M/src/classes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16291/src/classes

Modified Files:
        MessageView.cpp 
Log Message:
use new ConvertUTFToMB() instead of ConvertUnicodeToSystem(): it now tries to guess 
the correct encoding for UTF text

Index: MessageView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MessageView.cpp,v
retrieving revision 1.158
retrieving revision 1.159
diff -b -u -2 -r1.158 -r1.159
--- MessageView.cpp     18 Sep 2004 16:50:02 -0000      1.158
+++ MessageView.cpp     22 Sep 2004 22:03:28 -0000      1.159
@@ -1584,5 +1584,5 @@
                   encHeader == wxFONTENCODING_UTF7 )
             {
-               encHeader = ConvertUnicodeToSystem(&value, encHeader);
+               encHeader = ConvertUTFToMB(&value, encHeader);
             }
          }
@@ -1651,5 +1651,5 @@
 
          // convert from UTF-8|7 to environment's default encoding
-         encPart = ConvertUnicodeToSystem(&textPart, encPart);
+         encPart = ConvertUTFToMB(&textPart, encPart);
       }
       else if ( encPart == wxFONTENCODING_SYSTEM ||



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to