[PHP] Re: correct encoding for emails
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/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: correct encoding for emails
The problem is not sending or composing the email (what your class is for), but displaying all the recieved messages. Btw how do i use quoted-printable encoding ? mfg. Harry Wiens Manuel Lemos [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] 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/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: correct encoding for emails
Hello, On 06/24/2003 10:50 AM, Harry Wiens wrote: The problem is not sending or composing the email (what your class is for), but displaying all the recieved messages. Ok, you said mail handler and it was not clear if you were handling the process of sending or receiving. Btw how do i use quoted-printable encoding ? http://www.php.net/quoted-printable-decode Manuel Lemos [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] 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/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php