Thodoris wrote: > I am having a FreeBSD web server for development that is working like > a charm when sending mail using something like this: > > // Define the e-mail content > $email = "foo@foo,com"; > $subject = "H εργασία: (id: 1868) έκλεισε χωρίς σχόλια."; > $message = "Αυτό είναι ένα τέστ. Αυτό είναι ένα τέστ. Αυτό είναι ένα > τέστ."; // $subject = mb_encode_mimeheader($subject,'iso-8859-1','B'); > > The language in both subject and mail body is Greek. But when I am > uploading this to a Linux CentOS 5.2 server this mail is being sent > but the subject is rubbish. > All encodings are in UTF-8 (the php file, the encoding of the mail > client etc) so to solve this I have added the mb_encode_mimeheader > line. But for some reason you've specified ISO-8859-1 instead of UTF-8? /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php