Update of /cvsroot/mahogany/M/src/classes
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv19861/src/classes
Modified Files:
MessageView.cpp
Log Message:
ISO-8859-1 is not a subset of UTF-8 so we need the correct encoding to be able
to show text using this encoding under GTK2
Index: MessageView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MessageView.cpp,v
retrieving revision 1.174
retrieving revision 1.175
diff -b -u -2 -r1.174 -r1.175
--- MessageView.cpp 19 Aug 2006 13:11:59 -0000 1.174
+++ MessageView.cpp 23 Aug 2006 15:41:53 -0000 1.175
@@ -508,8 +508,7 @@
wxFont font(CreateFontFromDesc(fontDesc, fontSize, fontFamily));
- // assume that iso8859-1 text can be shown in any encoding - it's
- // true for all normal fonts
- if ( encoding != wxFONTENCODING_DEFAULT &&
- encoding != wxFONTENCODING_ISO8859_1 )
+ // assume that wxFONTENCODING_DEFAULT (US-ASCII) text can be shown in any
+ // encoding
+ if ( encoding != wxFONTENCODING_DEFAULT )
{
if ( !font.Ok() )
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates