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

Hi Chuck,
Thanks for your reply. Both issues You mentioned are fixed now (I hope :)).

The function now checks are there any 8 bit characters in the string. If no, the
initial string is returned. Else encoded string.
I've also caught a bug which could lead to segfault and fixed it.

The reworked version is attached.

Chuck Hagenbuch wrote:

> I took a look at this, but it encodes strings that don't need encoding (it
> should be smart enough to check),

> and I got some segfaults from it, so I didn't
> look further...

--
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>