Bug 163114

Summary: problem with non-us chars in message title and username
Product: knode Reporter: Alexei <babl1986>
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:

Description Alexei 2008-06-03 08:36:16 UTC
Version:           0.99.01 (using 4.00.80 (KDE 4.0.80 >= (KDE 4.1 Beta1), Debian packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.18-4-686

In knode from KDE 3.5.9 all ok, but witch KDE4 I have some troubles.

Newsgroup works witch KOI8-R codepage, more Outlook Express users, if there is no charset="koi8-r"; in headers, title shows with grap symbols. In the message body all OK.

I think, in knode from 3.5.9 there is an option to set default encoding for INBOX, but in this knode i see only POSTING charset options.

Some screenshots:

all OK
http://babl.starlink.ru/imgs/knodebug01.png

bad title
http://babl.starlink.ru/imgs/knodebug02.png

it's interesting, but when i get new messages from server, they have titles like O(c)tO(c)t, after clicking on it, they converts to "<?>" symbols

bad russian username
http://babl.starlink.ru/imgs/knodebug04.png
Comment 1 Olivier Trichet 2009-05-10 20:17:26 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