Swedish character encoding

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • David

    #1

    Swedish character encoding

    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

  • Alvaro G. Vicario

    #2
    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
    --

    Comment

    Working...