>From what I've seen, if someone mails me a correctly formatted message, I get the title right, however something like a non-standard mail clients does it, I get the =windows-1255 string you gave as the subject. Do note: The standard name is ISO-8859-8-I. NOT windows-1255, which is a nice micro$oft invention, but not something standard, which is why not each and every mail client will support it. I believe I did it "The Right Way" (TM) in my site by adding the following header to the mail() function: Content-Type: text/html; charset="ISO-8859-8-I" You might want to try that... it works for me everywhere (including in completely English mail clients under Linux) Shimi On Sun, 2004-11-07 at 13:57, Marina Markus wrote: > Hello, > > I am desperately looking for a solution of a problem that seems quite > simple. > > I need a PHP script to create an email message in a way that a subject line > in Hebrew will be readable in all mail clients. Some mail clients cannot > cope with Hebrew if they don't have character set explicitly denoted. > > Is there a possibility in PHP allowing to encode a string > with WIN-1255 character set encoding? The result should look like: > > =?windows-1255?B?Rlc6IOz26eHl+CDk8uXj6e0=?= > > which the mail client then is able to decode back into Hebrew. > > If anyone has a solution for another character set, I suppose it can also > help. > > Will be grateful for any hint or idea. > Marina Markus > mary@xxxxxxxxx > > -- Never forget that: 1. "Sure UNIX is user-friendly! It's just picky about who its friends are!" 2. "The day that Microsoft make a product that doesn't suck, is the day they start making vacuum cleaners.." 3. "Windows is a 32bit port for a 16bit GUI for an 8bit OS made for a 4bit CPU by a 2bit company that can't stand 1bit of competition!"