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

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

Index: wxFolderView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxFolderView.cpp,v
retrieving revision 1.667
retrieving revision 1.668
diff -b -u -2 -r1.667 -r1.668
--- wxFolderView.cpp    9 Sep 2004 08:57:59 -0000       1.667
+++ wxFolderView.cpp    22 Sep 2004 22:03:29 -0000      1.668
@@ -3086,5 +3086,5 @@
       if ( encoding == wxFONTENCODING_UTF8 || encoding == wxFONTENCODING_UTF7 )
       {
-         encoding = ConvertUnicodeToSystem(&text, encoding);
+         encoding = ConvertUTFToMB(&text, encoding);
       }
 



-------------------------------------------------------
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