Arabic characters in kmail

2018-05-11 Thread Rob Brewer
After the recent upgrade to kmail 4:17.12.3-1 I am seeing Arabic characters 
replacing punctuation marks in the kmail message pane.

For instance " (utf-8 E2 80 A6) is being replaced by  ق
and '  (utf-8  E2 80 99) is also replaced by ق


Locale seem to be correct:

€LANG=en_GB.UTF-8
LANGUAGE=en_GB
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=

Presumably a bug with this version of kmail but could be something I have 
overlooked, so it would be helpful to know if anyone else has seen this 
happening.


Rob

(up to date Debian Sid)



Re: Arabic characters in kmail

2018-05-11 Thread inkbottle
On Friday, May 11, 2018 12:50:30 PM CEST Rob Brewer wrote:
> After the recent upgrade to kmail 4:17.12.3-1 I am seeing Arabic characters
> replacing punctuation marks in the kmail message pane.
> 
> For instance " (utf-8 E2 80 A6) is being replaced by  ق
> and '  (utf-8  E2 80 99) is also replaced by 

I've sent to myself the incriminated characters, that is:
U+2026  …   e2 80 a6HORIZONTAL ELLIPSIS
U+2019  ’   e2 80 99RIGHT SINGLE QUOTATION MARK
U+201C  “   e2 80 9cLEFT DOUBLE QUOTATION MARK
U+2018  ‘   e2 80 98LEFT SINGLE QUOTATION MARK

(source: https://www.utf8-chartable.de/unicode-utf8-table.pl?
start=8192&number=128)

and I haven't noticed anything, but maybe I misunderstood where exactly the 
problem should be observed.

My Kmail has the same version number as yours, even though my update is like a 
week old.

Let's see how this email shows ;)

My locale is a bit different from yours.
$ locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8
> ق
> 
> 
> Locale seem to be correct:
> 
> €LANG=en_GB.UTF-8
> LANGUAGE=en_GB
> LC_CTYPE="en_GB.UTF-8"
> LC_NUMERIC="en_GB.UTF-8"
> LC_TIME="en_GB.UTF-8"
> LC_COLLATE="en_GB.UTF-8"
> LC_MONETARY="en_GB.UTF-8"
> LC_MESSAGES="en_GB.UTF-8"
> LC_PAPER="en_GB.UTF-8"
> LC_NAME="en_GB.UTF-8"
> LC_ADDRESS="en_GB.UTF-8"
> LC_TELEPHONE="en_GB.UTF-8"
> LC_MEASUREMENT="en_GB.UTF-8"
> LC_IDENTIFICATION="en_GB.UTF-8"
> LC_ALL=
> 
> Presumably a bug with this version of kmail but could be something I have
> overlooked, so it would be helpful to know if anyone else has seen this
> happening.
> 
> 
> Rob
> 
> (up to date Debian Sid)






Re: Arabic characters in kmail

2018-05-11 Thread Rob Brewer
inkbottle wrote:

> On Friday, May 11, 2018 12:50:30 PM CEST Rob Brewer wrote:
>> After the recent upgrade to kmail 4:17.12.3-1 I am seeing Arabic
>> characters replacing punctuation marks in the kmail message pane.
>> 
>> For instance " (utf-8 E2 80 A6) is being replaced by  ق
>> and '  (utf-8  E2 80 99) is also replaced by
> 
> I've sent to myself the incriminated characters, that is:
> U+2026…   e2 80 a6HORIZONTAL ELLIPSIS
> U+2019’   e2 80 99RIGHT SINGLE QUOTATION MARK
> U+201C“   e2 80 9cLEFT DOUBLE QUOTATION MARK
> U+2018‘   e2 80 98LEFT SINGLE QUOTATION MARK
> 

Thank you for your help your characters seem to be reproduced correctly here 
as well. I suspect that this is combined html document problem then, as the 
snippit below shows the problem is in the quoted-printable section

--=_Part_140756414_962358756.1525866442311
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

We want to stay in touch =E2=80=93 action needed
snip...

--=_Part_140756414_962358756.1525866442311

this is displayed as:


 We want to stay in touch ق€“ action needed


Not sure how quoted-printable is handled in kmail. Maybe the problem is in 
the sending software but this is happening on at least 2 different email 
sources.

Reading the email with Thunderbird does not show the problem.

Regards

Rob  



Re: Arabic characters in kmail

2018-05-11 Thread Rob Brewer
Rob Brewer wrote:

OK I have found the problem

> 
> Not sure how quoted-printable is handled in kmail. Maybe the problem is in
> the sending software but this is happening on at least 2 different email
> sources.
> 

The "Override character encoding:" in the Appearance - General tab of the 
Configure menu was set to "Arabic (ISO 8859-6)". Changing this to "Auto" 
solves the problem.

Maybe I set the encoding accidentally when changing my account settings 
recently.

Thank you for your help .


Rob