[PHP-DEV] a small utility function mail_mime_header() From: Max Derkachev (kot <email protected>)
Date: 12/09/00

I've just made a little function for php, which makes a mime encoded
header for mail from a string, for the cases when international 8 bit
characters are used in the string.
E.g. when sending a mail with the subject in cyrillic, the right way is
to encode the subject. This function uses base64 ("B") encoding. Most
popular e-mail readers use this method to send headers in non-US-ASCII 8
bit charsets, and can decode strings encoded with this method.
For additional info see RFC 2047.

Of course, someone with commit privilege at the PHP repository can
incorporate it in the source tree (I guess the right place is in
ext/standard, where other string functions reside).

--
Best regards,
Max A. Derkachev mailto:kot <email protected>
Symbol-Plus Publishing Ltd.
phone: +7 (812) 324-5353
http://www.Books.Ru -- All Books of Russia

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>