CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Intermediate:
HTML e-mail and charset=iso-8859-1



Jun 30, 2001, 4:42 PM

Post #1 of 1 (469 views)
HTML e-mail and charset=iso-8859-1 Can't Post

Hello Everyone,

Im using the command:

Content-type: text/html; charset=\"iso-8859-1\" \n\n

In the header of my message to send an HTML Ezine unsing a Perl script. It turned out some e-mail severs couldnt handle it, and gave this response:

This message uses a character set that is not supported by the Internet Service. To view the original message content, open the attached message. If the text doesn't display correctly, save the attachment to disk, and then open it using a viewer that can display the original character set. <<message.txt>>

I then tried:

Content-type: text/html; charset="iso-8859-1" \n\n


Content-type: text/html; charset=iso-8859-1 \n\n

With the same results. Before I only used:

Content-type: text/html \n\n

And all went well, but some people complained that they couldnt read the extended characters (strange symbols instead). The Ezine is published in Spanish, so I need to make sure the following characters render correctly:

That why I need character code iso-8859-1.

Will this:

Content-type: text/html; charset="us=ascii"

work for the extended characters? Is it different from the line: <META HTTP-EQUIV="Content-Type" CONTENT="text/html" CHARSET="iso-8859-1"> that we use in web pages?

Any help, comments and/or suggestions will be very appreciated.

Thanks in advance for your cooperation.

Be Well


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives