[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    Re: PATCH: reply selected, linebreak in reply prase
From:       Michael =?iso-8859-1?q?H=E4ckel?= <Michael () Haeckel ! Net>
Date:       2001-02-24 13:28:34
[Download RAW message or body]

On Saturday, 24. February 2001 11:50, Daniel Naber wrote:
> On 2001-02-24 11:20, Michael Häckel wrote:
> > On Friday, 23. February 2001 23:01, Daniel Naber wrote:
> > > On 2001-02-23 22:23, Michael Häckel wrote:
> > > > Could it be, that kmmessage.h is missing?
> > >
> > > Sorry, here's a new version.
> >
> > It doesn't work for non latin-1.
>
> Any idea why? Can you forward me a mail I can use to test it (and tell me
> what font I need). I have no clue about anything that's not latin1...

Ok, before I have to review another patch, the following change does it.

diff -u kmail.test/kmmessage.cpp kmail.test2/kmmessage.cpp
--- kmail.test/kmmessage.cpp    Sat Feb 24 13:55:18 2001
+++ kmail.test2/kmmessage.cpp   Sat Feb 24 14:06:48 2001
@@ -548,7 +548,7 @@
 
     pgp->setMessage(cStr);
     if( selection != QString::null ) {
-      result = codec->toUnicode(selection);
+      result = selection;
     } else if(pgp->isEncrypted()) {
       pgp->decrypt();
       result = codec->toUnicode(pgp->message());

I though there are already enough non latin mails around on this mailing 
list. :-) Testfoler attached.

The European encodings should render correctly without any effort if you have 
all fonts installed that come with your distribution.

For Japanese you possibly need Japanese locale information, if you are on 
SuSE <= 7.0. On SuSE 7.1 it works out of the box.
Untar http://stud.uni-bayreuth.de/~a4677/kmail/ja.locale.tar.bz2 in 
/usr/share/locale after you have moved the directories it is going to 
overwrite to somewhere else.
Fontsize 15 recommended, btw.

All required fonts ship with the X-Server.

Regards,
Michael Häckel
["international.gz" (application/x-gzip)]
_______________________________________________
Kmail Developers mailing list
Kmail@master.kde.org
http://master.kde.org/mailman/listinfo/kmail


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic