By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,480 Members | 763 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,480 IT Pros & Developers. It's quick & easy.

Swedish character encoding

P: n/a
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

David

Jul 16 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
*** David escribió/wrote (16 Jul 2006 12:22:05 -0700):
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";
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
--
Jul 16 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.