Update of /cvsroot/mahogany/M/src/modules
In directory usw-pr-cvs1:/tmp/cvs-serv13094/src/modules
Modified Files:
HtmlViewer.cpp
Log Message:
finished UTF-7 support
Index: HtmlViewer.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/HtmlViewer.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -b -u -2 -r1.30 -r1.31
--- HtmlViewer.cpp 16 Apr 2002 02:45:53 -0000 1.30
+++ HtmlViewer.cpp 16 Apr 2002 16:03:17 -0000 1.31
@@ -756,9 +756,9 @@
m_htmlText += "</td><td>";
- if ( encHeader == wxFONTENCODING_UTF8 )
+ if ( encHeader == wxFONTENCODING_UTF8 || encHeader == wxFONTENCODING_UTF7)
{
- // convert from UTF-8 to environment's default encoding
+ // convert from UTF-8|7 to environment's default encoding
// FIXME it won't be needed when full Unicode support is available
- encHeader = ConvertUnicodeToSystem(&m_htmlText);
+ encHeader = ConvertUnicodeToSystem(&m_htmlText, encHeader ==
+wxFONTENCODING_UTF7);
}
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates