Get answers quicker by searching

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

UTF8 encoding issue with iOS Mail app
  • Vote Up0Vote Down guidodguidod
    Posts: 19Sendy user

    With all mails sent with Sendy we're experiencing this very issue: http://stackoverflow.com/questions/5193599/php-utf8-mail-gets-garbled-on-iphone-mail-app

    Basically, accented characters (á, é, etc.) and other symbols get replaced by multiple symbols only on iOs mail app. Gmail works fine. The only way around it is to manually replace á, é, etc. with their entities (á, é, etc.).

    UTF8 meta tags are correctly specified in the HTML, so the problem is likely that Sendy is missing a certain encoding header when sending e-mails. Is this possible?

    Thanks Ben!

  • 6 Comments
  • Vote Up0Vote Down guidodguidod
    Posts: 19Sendy user

    The forum replaced the entities, but what I said is that the problem goes away if we replace the accented characters with their HTML entities like & aacute; (sans space)

  • Vote Up0Vote Down BenBen
    Posts: 3,447Sendy support

    Hey Guido,

    It's good practice to use HTML entities instead of the resulting characters directly. It's the best way to ensure they'll work on any email clients (or browser).

    Thanks.

    Ben

  • Vote Up0Vote Down guidodguidod
    Posts: 19Sendy user

    I know, but in this case it seems to be because of the headers Sendy sends, might be a bug that can be solved.

  • Vote Up0Vote Down BenBen
    Posts: 3,447Sendy support

    Hi Guido,

    I know, but in this case it seems to be because of the headers Sendy sends, might be a bug that can be solved.

    I've just sent a test email through Sendy to myself with the characters "á, é" in it. I received the email with the characters intact though:

    Screenshot from Gmail

    Thanks.

    Ben

  • Vote Up0Vote Down guidodguidod
    Posts: 19Sendy user

    Yup, as I said Gmail works perfectly, but it's iOs that shows garbled symbols (iPhone's and iPad's mail app).

    Symbols on iOs look like the right column here: Screenshot

  • Vote Up0Vote Down BenBen
    Posts: 3,447Sendy support

    Hi Guido,

    I sent the email again and check i on my iPhone and it's displaying properly (iOS Mail on the left):

    My $charset in '/includes/config.php' is set to utf8. If you use chinese characters, try using utf16.

    Thanks.

    Ben

This discussion has been closed.
All Discussions