note 74840 deleted from ref.mail by danbrown
| From: | danbrown@php.net | Date: | Sun, 17 May 2009 20:08:44 +0000 |
| Subject: | note 74840 deleted from ref.mail by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-155341@lists.php.net to get a copy of this message | ||
Note Submitter: Geoff Montreal
----
i strongly feel that internet site developers should exclusively use UTF-8 text encoding / character
setting over ISO-8859-1... UTF-8 is universal and will display all characters as they were meant to
be displayed, whereas ISO-8859-1 is prone to garbled text.
<?php
$message .= "Content-Type: text/plain; charset=UTF-8\n";
?>
~ and/or ~
<?php
$message .= "Content-Type: text/html; charset=UTF-8\n";
?>
note: above code for *nix servers.