rondog Posted January 7, 2009 Share Posted January 7, 2009 I think thats the problem anyway... I am sending an email with some special characters like the trademark symbol and the registered symbol. When I send the email to my gmail account everything looks good. When I send it to my work email which I get through thunderbird. I see stuff like this: SynergEyes® <---Should not have that A symbol Should be: SynergEyes® Prescribe It!â„¢ <---Should be the trademark symbol. Should be: Prescribe It!™ My php headers are like this: $headers = "From: email@mysite.com\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1 "; $headers .= "MIME-Version: 1.0 "; Quote Link to comment https://forums.phpfreaks.com/topic/139884-help-with-character-encoding/ Share on other sites More sharing options...
premiso Posted January 7, 2009 Share Posted January 7, 2009 I am pretty sure it is because GMail does the character encoding on it's end. See what your character encoding is set to on FireBird, it is probably UTF-8, which would explain it. Try changing that to the ISO and see what happens. Quote Link to comment https://forums.phpfreaks.com/topic/139884-help-with-character-encoding/#findComment-731874 Share on other sites More sharing options...
rondog Posted January 7, 2009 Author Share Posted January 7, 2009 The character encoding on thunderbird outgoing and incoming is: ISO-8859-1, so its the same as my headers..hmm What else could it be? Quote Link to comment https://forums.phpfreaks.com/topic/139884-help-with-character-encoding/#findComment-731882 Share on other sites More sharing options...
premiso Posted January 7, 2009 Share Posted January 7, 2009 The character encoding on thunderbird outgoing and incoming is: ISO-8859-1, so its the same as my headers..hmm What else could it be? Maybe it is a bug in Thunderbird? I would check that version and see if there are any bug reports about it. Also, I think your $headers should be seperated by a "\r\n", you have "\n" on the from, but it should be "\r\n" and you should have it on each of them. Quote Link to comment https://forums.phpfreaks.com/topic/139884-help-with-character-encoding/#findComment-731954 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.