Bug 114898

Summary: Group charset not applied to message descriptions
Product: [Unmaintained] knode Reporter: Michael Stather <kontakt>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: kickerrc

Description Michael Stather 2005-10-22 21:14:48 UTC
Version:           0.9.92 (using KDE 3.4.91 (beta1, >= 20050910) Level "a" , SUSE 10.0.42)
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.13.2-2-default

I´ve a group which charset is ISO-8859-1. I changed it in the group properties. The message bodies with special german characters (umlauts) are displayed fine but the message subjects are not. It seems like UTF-8 is assumed but ISO-8859-1 is returned (the same charset as the messages) so the special chars are displayed as 2 placeholder chars because they shoudn´t appear in UTF-8.
Comment 1 Michael Stather 2006-01-28 13:22:05 UTC
Created attachment 14412 [details]
kickerrc
Comment 2 Olivier Trichet 2009-05-10 20:17:30 UTC
SVN commit 966237 by otrichet:

Try to properly decode 8bit string coming from XOVER listing

 - Use the default charset of the group (or the global posting charset
   -- need to add a global default reading charset --) to decode 8bit
   data (From and Subject). This restore the behaviour from KDE3
 - The from and subject line in the message view should also be fine
   when the message is not what we usually expect.

This needs that either the global charset or the charset of the group to
be defined to the local legacy encoding to do something usefull.
Viva UTF-8.

BUG: 85473
BUG: 114898
BUG: 179703
BUG: 188783
BUG: 114199
BUG: 163114

 M  +12 -2     knarticle.cpp  
 M  +16 -8     kngroup.cpp  
 M  +34 -2     utils/locale.cpp  
 M  +34 -3     utils/locale.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=966237