Re: correct encoding for emails
| From: | Manuel Lemos | Date: | Tue, 24 Jun 2003 12:49:35 +0000 |
| Subject: | Re: correct encoding for emails | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-152599@lists.php.net to get a copy of this message | ||
Hello,
On 06/24/2003 07:47 AM, Harry Wiens wrote:
i'm coding a mail handler in php. i live in germany, and in germany we have "umlaute" (ä,ö,ü). I don't know how to display them right, or how i have to convert the text. sometimes, not always when i display my mails in php i have "L=F6sungen" but it must be "Lösungen". What do I have to do, to display everything correct?You need to use q-encoding to use non 7 bit ASCII characters in the headers and quoted-printable encoding in the text body parts. You may want to try this class that already does that for you making it easy to compose and send messages in any idioms: http://www.phpclasses.org/mimemessage -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/