Jump to content

Help with character encoding


rondog

Recommended Posts

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 protected]\n";
$headers .= "Content-Type: text/html; charset=ISO-8859-1 ";
$headers .= "MIME-Version: 1.0 ";

Link to comment
https://forums.phpfreaks.com/topic/139884-help-with-character-encoding/
Share on other sites

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.