|Welcome to the Monastery|
character encoding & french accentsby dstamos (Initiate)
|on Feb 02, 2006 at 21:10 UTC||Need Help??|
dstamos has asked for the wisdom of the Perl Monks concerning the following question:
Hello, I hope that someone can help me with this. I am not a perl programmer but rather the owner of a purchased perl (cgi) script.
I am working with the programmer on this but we are having a hard time figuring out where the problem is exactly (local, cgi script or smtp).
The application is mailing list script that connects to a smtp server to send the email. The emails are written in french with accents. When we receive the email it is garbled in our email program and webmail. Changing character encoding in our browser or gui to UTF-8 makes the accents readable. The standard in browsers and gui's would seem to be iso-8559-1.
This script writes the email to a text file first and then sends it. Its running on a Fedora Core 3 server with Apache 2.0. Is the problem with the way the file is encoded ? or is it a local problem on the server ?
Something i noticed is that when i vi the text file on the server the french accents are garbled.
does anyone have experience with this ?