Re: Swedish character encoding



*** 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
--
.



Relevant Pages

  • Re: [PHP] Ongoing encoding issues
    ... encoding set to Latin-1. ... If I set my browser encoding to ... clean data. ... by default - this requires you to have php send the correct header (don't ...
    (php.general)
  • Swedish character encoding
    ... I was looking for pointers as to why mailwould not send non ... standard ascii characters correctly. ... encoding, and in the code this is set: ... If no does anyone have source that does send "non-standard" ascii ...
    (comp.lang.php)