Hello,

This is a reply to an e-mail that you wrote on Tue, 24 Jun 2003 at 14:41,
lines prefixed by '>' were originally written by you.
> Btw how do i use "quoted-printable encoding" ?

I'll admit now that I have not read the relevant RFC so I am open to
corrections.

>From examining existing e-mails I recieved I determined that quoted
printable appears to do this to the message body:

$body = preg_replace("/([=?_])/e","strval('=' .
strtoupper(dechex(ord('\\1')))) ",$body);

i.e. =, ? and _ symbols are replaced with an equals sign, followed
by the ascii code for the character required (in uppercase hex).

HTH

David.

--
phpmachine :: The quick and easy to use service providing you with
professionally developed PHP scripts :: http://www.phpmachine.com/

          Professional Web Development by David Nicholson
                    http://www.djnicholson.com/

    QuizSender.com - How well do your friends actually know you?
                     http://www.quizsender.com/
                    (developed entirely in PHP)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to