[Bug 248058] New: Message preview pane character encoding issue (utf-8, unicode)

Wouter Van Hemel wouter-kde at publica.duodecim.org
Mon Aug 16 13:20:14 BST 2010


https://bugs.kde.org/show_bug.cgi?id=248058

           Summary: Message preview pane character encoding issue (utf-8,
                    unicode)
           Product: kmail
           Version: 1.13.5
          Platform: Debian unstable
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: messageviewer
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: wouter-kde at publica.duodecim.org


Version:           1.13.5 (using KDE 4.4.5) 
OS:                Linux

Hello,

The message preview pane sometimes shows utf-8 rendered as latin1 (iso-8859-1
or iso-8859-15). One message I just read was multipart/mime with plain/text
utf-8 encoding in the main message part, but the preview pane renders it as
latin1 so it shows two funny characters per unicode character.

When I press 'v' for viewing the source and headers, this window shows the
message correctly, and in the same time the preview pane in the background
re-renders to utf-8, showing the message correctly too.

My mailbox and the relevant message is on an IMAP server. The problem and hence
solution might be related to partial fetching/caching or other IMAP specifics.

Reproducible: Always

Steps to Reproduce:
1. View message (on IMAP server) in message preview pane.
2. Notice that the message has pairs of funny characters because it renders
unicode characters as latin1.
3. Press 'v' for viewing the headers and original source.
4. When the source view window opens, the preview pane also switches to unicode
and both windows show the message correctly.

Actual Results:  
Message preview pane renders utf-8 as latin1, producing garbled output for
unicode characters.

Opening a message source window also corrects the message preview window in the
background.

Expected Results:  
Since the message is clearly marked multipart/mime and the main message part
has text/plain and utf-8 charset, the preview window should show the message
correctly as the source window and message window do after opening the message.

It's quite strange the message preview pane renders unicode as latin1, but on
opening a message source view window, it suddenly realises that and re-renders
it to utf-8.

OS: Linux (i686) release 2.6.32-5-686
Compiler: cc

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list