AquaMail Forum

English - Android => How do I... => Topic started by: someone on May 22, 2014, 11:27:46 pm

Title: UTF-8
Post by: someone on May 22, 2014, 11:27:46 pm
How do I set the message display to UTF-8? Some foreign characters don't display correctly for me.

Example
new publication (Mar?a Isabel Fierro Bello)
Title: Re: UTF-8
Post by: Kostya Vasilyev on May 23, 2014, 12:00:02 am
It's not display, it's transmission.

Sounds like a message with bad headers (e.g. the "encoding" is completely missing).

Even though Aqua has some code to "guess" the right encoding, if the message says it's "us-ascii" and it's actually utf-8, some data will be corrupted.

Title: Re: UTF-8
Post by: someone on May 23, 2014, 01:49:46 am
Thanks.
Title: Re: UTF-8
Post by: jcasares on May 23, 2014, 02:58:48 am
I had such issue with Lotus Domino/Traveler messages if I recall correctly.
Title: Re: UTF-8
Post by: Kostya Vasilyev on May 25, 2014, 11:38:31 pm
If you can send (as attachment) the original message source, I could see if maybe there is a bug in Aqua.

Should also mention that I have code on my side to detect UTF-8 no matter what the encoding in the message says.

Finally, if you were seeing this in a Gmail account, with message headers (not content) --

-- Gmail's IMAP irreversibly corrupts non-ASCII characters in message headers. The IMAP spec says they're allowed to.