PDA

View Full Version : Encoding problem



Harris
05-Mar-2006, 06:54 PM
Hello out there,
I've got a small but quite anoying problem with the encoding.
My form and good and bad termplate pages are utf-8 encoded, all form fields (the appropriate variables) are shown properly in the bad template pages but the messages from formmail are unreadable.

I tried making a greek language file or just translating in Greek just the messages in needed in the formmail.php file but the result is the same.

Is there any way I can parse the messages from formmail.php to the bad template in utf encoding?

Thanks in advance
Harris

asket
06-Mar-2006, 11:01 AM
Hi

I had quite the same problem with german special chars some time ago.
Form and Templates (bad & good) utf-8 encoded is no problem.
But if you are using a plain.txt template for email messages sent by formmail or a language.inc you'll get some trouble, at least I got.
Therefore use iso-8859-1 encoding for the language.inc and a plain.txt file and it should work I think.

Erik