Swedish character encoding

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi, I was looking for pointers as to why mail() would not send non
standard ascii characters correctly. The web page has the correct
encoding, and in the code this is set:

 $headers = "Content-type: text/plain; encoding=iso-8859-1\r\n";

What other factors could affect this. Im guessing the ISP's mail system
is using sendmail - to be confirmed.

If no does anyone have source that does send "non-standard" ascii
characters please, or know of sites where this may be found, with
examples of mail() in use.

Thanks for any pointers


Re: Swedish character encoding

*** David escribió/wrote (16 Jul 2006 12:22:05 -0700):
Quoted text here. Click to load it

I believe the correct header should be:

Content-Type: text/plain; charset=ISO-8859-1

-+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programación web: http://bits.demogracia.com
+- Mi web de humor con rayos UVA: http://www.demogracia.com

Site Timeline