Send apostrophe s ('s
) in email message using was error encode using PHP ?
<?PHP
include("connect.php");
$to = "example@example.com";
$subject = "TEST SUBJECT";
$message = "peter’s test";
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'From: EXAMPLE <noreply@example.com>' . "\r\n";
$headers .= 'Return-Path: return@example.com' . "\r\n";
mail($to, $subject, $message, $headers, '-freturn@example.com');
?>
When i open my email , i see peter’s ’s test
How can i send apostrophe s ('s
) in email message using php ?