Other languages don't decode correctly for windows recipients

Aaron M's Avatar

Aaron M

24 Mar, 2015 07:15 AM

GPGMail 2.5b5

When I send signed emails to certain people, I suspect windows users, they complain that my emails look like garbage. It seems like my emails aren't being decoded and so every non ascii character looks like a bunch of numbers.

Hmm ayn=C4=B1 =C5=9Fey oldu.
Yeni subdomain:

What did you expect instead

Here's what it should look like:

Hmm aynı şey old.
Yeni subdomain:

Describe steps leading to the problem.

  1. Write an email with Turkish characters in it
  2. Sign email
  3. Send it to certain users

Here's another example:

-----Original Message-----
From: Aaron M [***@***] 
Sent: Monday, March 23, 2015 4:31 PM
To: Emrah Kaçar / Ajans 365 Creative Studio
Cc: Ryan Keating
Subject: Subdomain

Content-Type: multipart/alternative;

Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;

Selam Emrah bey,

Nas=C4=B1ls=C4=B1n=C4=B1z?  Plesk=E2=80=99te bir ka=C3=A7 sorunla =
kar=C4=B1=C5=9Fla=C5=9Ft=C4=B1m.  Yeni subdomain olu=C5=9Fturmaya =
=C3=A7al=C4=B1=C5=9F=C4=B1yordum ama ba=C5=9Farmad=C4=B1m.  Bu error =

Error: skelmng failed: Access is denied. (Error code 5) at retrieves =
attributes for file or directory (Error code 1)

Ayn=C4=B1 zamanda File Manager de =C5=9Fu anda kullanamam.  =E2=80=9CAcces=
s Denied=E2=80=9D bir mesaj ortaya =C3=A7=C4=B1kar.

Bana yard=C4=B1mc=C4=B1 olabilirseniz =C3=A7ok sevinirim.

Aaron Murdoch

Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;

<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space;" class=3D"">Selam Emrah bey,<div =
class=3D""><br class=3D""></div><div class=3D"">Nas=C4=B1ls=C4=B1n=C4=B1z?=
&nbsp;Plesk=E2=80=99te bir ka=C3=A7 sorunla kar=C4=B1=C5=9Fla=C5=9Ft=C4=B1=
m. &nbsp;Yeni subdomain olu=C5=9Fturmaya =C3=A7al=C4=B1=C5=9F=C4=B1yordum =
ama ba=C5=9Farmad=C4=B1m. &nbsp;Bu error =C3=A7=C4=B1kt=C4=B1:</div><div =
class=3D""><br class=3D""></div><div class=3D""><span style=3D"color: =
rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, =
sans-serif; font-size: 15px; line-height: 15.6000003814697px; =
background-color: rgb(255, 249, 227);" class=3D"">Error: skelmng failed: =
Access is denied. (Error code 5) at retrieves attributes for file or =
directory (Error code 1)</span></div><div class=3D""><span style=3D"color:=
rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, =
sans-serif; font-size: 15px; line-height: 15.6000003814697px; =
background-color: rgb(255, 249, 227);" class=3D""><br =
class=3D""></span></div><div class=3D"">Ayn=C4=B1 zamanda File Manager =
de =C5=9Fu anda kullanamam. &nbsp;=E2=80=9CAccess Denied=E2=80=9D bir =
mesaj ortaya =C3=A7=C4=B1kar.</div><div class=3D""><br =
class=3D""></div><div class=3D"">Bana yard=C4=B1mc=C4=B1 olabilirseniz =
=C3=A7ok sevinirim.</div><div class=3D""><br class=3D""></div><div =
class=3D"">Te=C5=9Fekk=C3=BCrler,</div><div class=3D"">Aaron =


Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
Content-Type: application/pgp-signature;
Content-Description: Message signed with OpenPGP using GPGMail

Comment: GPGTools - https://gpgtools.org


  1. Support Staff 1 Posted by Steve on 26 Mar, 2015 03:17 PM

    Steve's Avatar

    HI Aaron,

    when sending a test mail with

    Hmm aynı şey old.
    Yeni subdomain:

    as message body, the email arrives fine in Mail and in Thunderbird on OS X. Can you please find out what email client is being used by your windows contact. Also please ask your contact to create a screenshot of the broken mail.

    All the best,

  2. 2 Posted by Alex on 02 Apr, 2015 07:57 AM

    Alex's Avatar

    Hi, Steve.

    I'd like to add my investigation of this problem. In fact when I send a encrypted message (UTF-8 charset) to Outlook users (Win7 x64, Outlook 2010+Outlook Privacy Plugin v40) recipients receive garbage in a text instead of non-ascii letters. I found out Outlook Privacy Plugin requires additional text line in header of an encrypted message body - "Charset: UTF-8". For example:

    -----BEGIN PGP MESSAGE-----
    Comment: GPGTools - https://gpgtools.org
    Charset: UTF-8

    If I add the charset line manually the message looks correctly, if don't I see a garbage.
    Do you have ideas how to make GPGTools and OutlookPP compatible?

    Thank you for support.

  3. 3 Posted by Alex on 02 Apr, 2015 02:49 PM

    Alex's Avatar

    I'm informing you with pleasure that i have found solution. I opened file /Users/%user name%/.gnupg/gpg.conf. Then I changed comment line to:

    Comment GPGTools - https://gpgtools.org   Charset: UTF-8

    Now message header includes "Charset: UTF-8". All non-ascii messages look fine.
    Certainly Mail.app must send messages in UTF8 encoding. Thus I changes mail default charset to UTF-8 (put the command in terminal):
    defaults write com.apple.mail NSPreferredMailCharset utf-8

    That's it.

  4. Support Staff 4 Posted by Mento on 25 Jun, 2015 11:01 AM

    Mento's Avatar

    Hi Alex,

    if the mail client doesn't decode "ayn=C4=B1 =C5=9Fey" to "aynı şey", so it's a bug in this software. Sadly not every mail client or OpenPGP plugin works as it should.
    As you can see the charset is correctly set to utf-8 in the mail. So there "should" be no reason to add "Charset: UTF-8" to the Comment.
    But if it works for you, it's an acceptable workaround.

    Regards, Mento

  5. Steve closed this discussion on 05 Nov, 2015 10:44 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac