[prev in list] [next in list] [prev in thread] [next in thread]
List: kmail-devel
Subject: [Bug 113524] New: hebrew emails sent from evolution2 are displayed
From: cuco <cuco3001 () yahoo ! com>
Date: 2005-09-28 17:58:13
Message-ID: 20050928195811.113524.cuco3001 () yahoo ! com
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=113524
Summary: hebrew emails sent from evolution2 are displayed
reversed
Product: kmail
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: NEW
Severity: normal
Priority: NOR
Component: general
AssignedTo: kmail-devel kde org
ReportedBy: cuco3001 yahoo com
Version: (using KDE KDE 3.4.90)
Installed from: Compiled From Sources
For some stupid reason, evolution2 sends the encoding "iso-8859-8" instead of \
"iso-8859-8-i". This renders the text sent from the user as "reversed" on my display. \
The problem is definetly evolution. However...
I have seen some webmails doing the same... Mozilla renders those mails as \
"iso-8859-8-i", also OE. IMHO, KMail is the only one who complies to the RFCs in this \
matter, but it is just not how it's used in the world.
I was thinking of fixing this by doying a hack in which the mail will return \
"iso-8859-i" when it sees "iso-8859-8". I also want the user to be able force it to \
be "iso-8859-8" if he decides to.
Here is my idea (BTW, it does not work... i definetly got something wrong here). If \
you have an better idea, please tell me:
kde cucomania:~/kde35/kdepim/kmail$ svn diff
Index: kmmessage.cpp
===================================================================
--- kmmessage.cpp (revision 462091)
+++ kmmessage.cpp (working copy)
@ -3823,7 +3823,15 @
DwParameter *param=mType.FirstParameter();
while(param){
if (!kasciistricmp(param->Attribute().c_str(), "charset"))
- return param->Value().c_str();
+ {
+ QCString str = param->Value().c_str();
+ if (str == "iso-8859-8")
+ {
+ kdWarning() << "******************** hacking logical hebrew";
+ str = "iso-8859-8-i";
+ }
+ return str;
+ }
else param=param->Next();
}
return ""; // us-ascii, but we don't have to specify it
_______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic