Re: [PHP] Mail subject encoding problem

2009-01-31 Thread Manuel Lemos
Hello, on 01/30/2009 11:43 AM Thodoris said the following: > Yes I know that this is not reasonable but using UTF-8 fails. And this > seems to work in some cases. I am thinking that this has to do with > PHP's internal encoding or something with the OS. I am not sure why that > works this way that

Re: [PHP] Mail subject encoding problem

2009-01-30 Thread Per Jessen
Thodoris wrote: > >> But for some reason you've specified ISO-8859-1 instead of UTF-8? >> >> >> /Per Jessen, Zürich >> > > Yes I know that this is not reasonable but using UTF-8 fails. Fails _how_? Put up the resulting email somewhere for us to see. (the raw email text). If your source files

Re: [PHP] Mail subject encoding problem

2009-01-30 Thread Thodoris
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 = "f...@foo,com"; $subject = "H εργασία: (id: 1868) έκλεισε χωρίς σχόλια."; $message = "Αυτό είναι ένα τέστ. Αυτό ε

Re: [PHP] Mail subject encoding problem

2009-01-30 Thread Per Jessen
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 = "f...@foo,com"; > $subject = "H εργασία: (id: 1868) έκλεισε χωρίς σχόλια."; > $message = "Αυτό είναι ένα τέστ.

[PHP] Mail subject encoding problem

2009-01-30 Thread Thodoris
Hi gang, I have developed a web intranet and I have added mail notification when some tasks are done. I am using the mail() function to send mail since no advanced features are needed like attachments. So I am facing a weird problem with the mail subject encoding. Let me explain. I am havi