Ask / Submit

Utf8 HTML email with attachment shows up garbled [released]

asked 2014-01-01 12:15:55 +0200

ziller gravatar image

I have received an email with:

Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64

(here's the entire email, censored a tiny bit, I can send the original to Jolla people if needed:

And it shows up in the mail client as: garbled content

I have received several other emails with same charset/encoding, but without attachments, and they show up fine.

edit retag flag offensive reopen delete

The question has been closed for the following reason "released in a software update" by VDVsx
close date 2014-07-29 11:43:04.297984


I can confirm that your mail is readable by at least my MUA (KMail). Not the attachment of course as you snipped that :)

Tanghus ( 2014-01-01 12:28:43 +0200 )edit

@Tanghus I have been able to view it in other mail clients as well, just not on Jolla. I thought it could have been a download issue (only partially received), but when I forward it from the phone, the text shows up okay

ziller ( 2014-01-01 12:36:08 +0200 )edit

I have the same issue with email encoded the same way (multipart, text/html in UTF-8 and PDF attachment). It displayed normally in Gmail web interface, but not on Jolla. Additionally, I can't open attachment -- when I click it, it's saved to subfolder of /Downloads/mail_attachments with .pdf.bin ext

trminator ( 2014-01-01 12:49:02 +0200 )edit

same for me

Cary Grant ( 2014-01-14 23:27:34 +0200 )edit

Yes I can confirm this behavior. It's HTML email only with binary attachment. I have seen this occurring only on emails containing PDF invoices from my ISP provider.

lomo ( 2014-03-10 10:07:08 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2014-06-09 20:45:31 +0200

VDVsx gravatar image

Fixed in, Saapunki, if you still have issues please comment here.

edit flag offensive delete publish link more


I can still see this happening on Saapunki. I had a message in inbox that had this problem, and it still has this problem with Saapunki.Adding content type definitions as an example (some parts cut because of space limitation). I can share the message if needed, please let me know how to proceed. And if that matters this mail has a .pdf document attached to it.

Content-Type: multipart/mixed; boundary="_004_F3EA57180FF0DE43BF0B7D0887491DCF1C785CA8SWRKIVEX10MBX2e_" MIME-Version: 1.0


Content-Type: multipart/alternative; boundary="_000_F3EA57180FF0DE43BF0B7D0887491DCF1C785CA8SWRKIVEX10MBX2e_"


Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64


Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: base64

Vesa ( 2014-06-11 07:20:41 +0200 )edit

@Vesa - Already downloaded messages won't be 'cured'. If you want to check create that acct again and download this message

VDVsx ( 2014-06-11 08:56:23 +0200 )edit

Question tools



Asked: 2014-01-01 12:15:55 +0200

Seen: 617 times

Last updated: Jun 09 '14