[SOLVED] Swiftmailer/ Accentuated characters/ Hotmail

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
arena
Forum Newbie
Posts: 11
Joined: Tue Jun 05, 2007 5:36 am

[SOLVED] Swiftmailer/ Accentuated characters/ Hotmail

Post by arena »

First of all thank you for this wonderful tool.
I just started three days ago and is already able to do what i want.

My issue is the following one.

I am sending e-mails (can't you believe it !) to gmail and hotmail users.

When the following Subject is send

Code: Select all

Election présidentielle
it is rendered in
=> gmail :

Code: Select all

Election présidentielle
=> hotmail :

Code: Select all

Election prsidentielle

When the following Subject is send

Code: Select all

Election présidentielle
it is rendered in
=> gmail :

Code: Select all

Election présidentielle

=> hotmail :

Code: Select all

Election présidentielle


All part of these emails have a charset = utf-8
Can i benefit any past experience on this topic ? It would just be great.

Thanks.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Web-based email clients, hotmail in particular, have real trouble dealing with the content types that are given to them since they have to set a content-type on their own web page, for their own content. It looks like hotmail are simple stripping any characters which are outside their own charset. I'm concerned about the fact they render the entities rather than displaying them too. This is not a swift issue, it's a hotmail problem ;)
arena
Forum Newbie
Posts: 11
Joined: Tue Jun 05, 2007 5:36 am

Post by arena »

this is what i read on the web. Was expecting some trick that would hel to override the issue.
Thanks anyway
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

arena wrote:this is what i read on the web. Was expecting some trick that would hel to override the issue.
Thanks anyway
utf8_decode() probably would sort it. I bet they use iso-8859-1. It wouldn't surprise me if they use a windows-* variation on something :roll:
arena
Forum Newbie
Posts: 11
Joined: Tue Jun 05, 2007 5:36 am

Post by arena »

Post Reply