On Fri, 01 Sep 2006 12:55:13 +0200 Robert Cernansky <[EMAIL PROTECTED]>
wrote:

> >  Most of them were here, in revisions 1.253..255:
> > 
> > http://cvs.wxwidgets.org/viewcvs.cgi/wxWidgets/src/gtk/textctrl.cpp
> > 
> >  The last one can't be backported "as is" but I'll try to extract the
> > relevant bits for 2.6.
> 
> I'll try to backport them and see if it will work.

So, I backported changes from gtk/textctrl.cpp 1.253 and 1.254 to
wx-2.6.3 but it did not help. M-cvs have still same behaviour.

But, I find out that with wx-2.6.3 it is much better than with
wx-2.6.2. The problems that I reported was with wx-2.6.2 (current
stable for Gentoo). Most of the problems are gone with wx-2.6.3
(without backported fixes).

So (assume that user have utf8 locale set, M-cvs and wx-2.6.3 is
used):

- displaying body of messages with non-utf8 and utf8 encoding is OK
  (does not work with wx-2.6.2, works with wx-cvs)
- displaying "header" in "Folder View" area is OK (does not work with
  wx-2.6.2 - some parts are empty, does not work with wx-cvs - whole
  lines are empty)
- composing (encoding after compose) message is OK (does not work
  with wx-2.6.2, does not work with wx-cvs)

This is good for making a package. I can just grab CVS version or make
a patchset and apply it to M-0.67. Package will depend on >=wx-2.6.3
which is OK.

There are two problems, thoug:

1. When splash is displayed, the message "Failed to display HTML
document in ISO-8859-1 encoding." pops up. It doesn't with wx-2.6.2
nor wx-cvs. I think it was discussed here some time ago.

2. Message "Your corrent locale doesn't use UTF-8 encoding!..." is
displayed always (it is true also for wx-2.6.2 and wx-cvs).

I checked what wxLocale::GetSystemEncoding() returns when message is
displayed and find out that if any utf8 locale is set, the function
returns 1 (wxFONTENCODING_ISO8859_1). So if I have set LANG=sk_SK.utf8
it returns wxFONTENCODING_ISO8859_1. Same for en_US.utf8. For sk_SK
(without .utf8) it returns correct wxFONTENCODING_ISO8859_2.

Robert


-- 
Robert Cernansky
E-mail: [EMAIL PROTECTED]
Jabber: [EMAIL PROTECTED]


-------------------------------------------------------------------------
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-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-users

Reply via email to