How to get WIN-1255 encoded string

"Marina Markus" <[email protected]>
Newsgroups gmane.comp.php.general,gmane.comp.php.internationalization
Message-ID <[email protected]>
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
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.