Bug 188783

Summary: knode don`t show cyrillic subjects correct
Product: knode Reporter: tuupic <tuupic>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description tuupic 2009-04-04 09:06:23 UTC
Version:           0.99.01 (using KDE 4.2.2)
OS:                Linux
Installed from:    Compiled From Sources

knode shows cyrillic subject field in the message incorrect. It looks like bad utf. It looks like this:
���������� � ��������.
But text in the message shows normal.
I see this bug since version kde-4.1 and in the kde-4.2.2 it is still exist
Comment 1 Olivier Trichet 2009-05-10 20:17:27 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