Summary: | Strange characters displayed in emails when viewed as html or plain text, when there should be a quote character | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | Nick <nick.craig.law> |
Component: | misc | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 5.11.3 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
email in HTML view showing odd character (circled) instead of ' character
Email properly rendered in gmail, correctly showing ' character |
Description
Nick
2019-07-23 14:28:14 UTC
Created attachment 121695 [details]
Email properly rendered in gmail, correctly showing ' character
This is not just the incorrect display of quote characters but also the copyright character and I would imagine lots of other non alpha numeric characters. I'm not exactly sure when this bug appeared but I think it might have been after a recent update. Again, here's a direct copy of the rendered text in a HTML email hereтАЩs a cool little email exclusive for your weekend тАУ weтАЩre trimming 15% off your takeaway*. And thatтАЩs whether you order Friday, Saturday or Sunday. Tuck in! and here's what that specific section of the email source looks like. here=E2=80=99s a cool little email exclusive fo= r your weekend =E2=80=93 we=E2=80=99re trimming 15% off your takeaway*. And= that=E2=80=99s whether you order Friday, Saturday or Sunday. Tuck in! Notice the =E2=80=99 where there should be a ` or ' Here's another easy way to reproduce the problem by sending yourself an email containing a special character such as the copyright symbol. To insert a special character, from the menu edit->insert special character. select European Latin 1 supplement. Click on the copyright symbol. The copyright symbol correctly appears in your composed email but after you have sent that email to yourself and view it in kmail the copyright symbol is now a й If you view that same email in gmail the copyright symbol is displayed correctly. So kmail manages to display the correct character when composing the email but not when viewing the email, however that same email when viewed in gmail displays the copyright symbol correctly. In the email header for the above simple email I have Content-Type: text/plain; charset="iso-8859-1" So it's like the kmail code that displays the email is using the wrong character encoding to render the text correctly. Fixed !. I don't know why but the encoding kmail was using was set to Cyrillic(IBM866). Changing kmails encoding to 'auto' removed the incorrect characters. To change encoding in kmail. Select form the drop down menus, view->set encoding and then select auto. Re-opened. I just found encoding in kmail has switched back to Cyrillic(IBM866) all on it's own !. I'm the only person who has access to this system. So something is switching encoding from 'auto' to specifically Cyrillic(IBM866). I've rebooted the system so need to investigate whether the switch from auto to Cyrillic(IBM866) occurs after a reboot. ok, so if you change encoding to auto then reboot the system OR simply exit kmail your encoding will revert back to Cyrillic(IBM866) with the incorrect display of special characters in emails. So it would appear that when I change encoding to auto it doesn't seem to be saved. Is there a setting somewhere that sets default encoding to Cyrillic(IBM866) ? Ok, closed again as not a bug ! hopefully. In Settings->configure kmail->appearance->general there is a setting called override character encoding. This was set to Cyrillic(IBM866). Switching 'override character encoding' to 'auto' now means that 'auto' encoding is retained after kmail is shutdown and restarted. |