Forum Moderators: coopster

Message Too Old, No Replies

Quoted-printable and PHP

need an ENcoding function

         

dingman

5:25 am on Feb 11, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I know about quoted_printable_decode(), and I know about imap_8bit() and imap_qprint(). However, I'd rather not have my program require the whole php4-imap module just for quoted-printable encoding.

Anyone know where I can find a nice stand-alone equivalent of imap_8bit()? Or a succinct explanation of the encoding from which to write my own?

andreasfriedrich

9:44 am on Feb 11, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Either look at [faqs.org...] or the PHP [php.net] source code or the source code for MIME::QuotedPrint [perldoc.com].

Andreas

dingman

5:34 pm on Feb 11, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



2045? I know I read that a few days ago, but sure enough the description of the encoding is right there. Thanks. How do you find the definitive documentation of anything at all so darned *fast*, Andreas?

I'm sure I could do it from the source of another implementation if I had to, but they I wouldn't know which bits were part of the standard and which were implimentation-dependant. I like the RFC better :)

andreasfriedrich

7:00 pm on Feb 11, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



RFC By Category [faqs.org] is a nice resource. Downloading all of them and then doing a fulltext search will help as well ;)

Andreas