Bug 179703

Summary: Choosen charset doesn't apply to subject
Product: knode Reporter: AleX <entidad_universal>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: arekm, nikbeier
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description AleX 2009-01-05 13:30:12 UTC
Version:            (using KDE 4.1.3)
OS:                Linux
Installed from:    Mandriva RPMs

When selecting a different default charset in group properties, the charset applies only to body but not to  subject.
Comment 1 Nikolai Beier 2009-01-25 13:15:26 UTC
I have also seen subjects displayed/decoded with a wrong charset, i.e. not the actual encoding.

This is with:
KDE Version  0.99.01 (KDE 4.0.4 (KDE 4.0.4 >= 20080505) "release 15.2", openSUSE 11.0 (i586))
1  Operating System  Linux (i686) release 2.6.25.20-0.1-pae
Comment 2 Arkadiusz Miskiewicz 2009-03-07 20:10:46 UTC
I can confirm - knode from kde 4.2.1 release.
Comment 3 Olivier Trichet 2009-05-10 20:17:12 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