Bug 114898 - Group charset not applied to message descriptions
Summary: Group charset not applied to message descriptions
Status: RESOLVED FIXED
Alias: None
Product: knode
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-22 21:14 UTC by Michael Stather
Modified: 2009-05-10 20:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
kickerrc (2.19 KB, application/octet-stream)
2006-01-28 13:22 UTC, Michael Stather
Details

Note You need to log in before you can comment on or make changes to this bug.
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