Mailinglisten-Archive |
Hi,
ich schlug letzten Freitag das hier ...
> > $text = "da=DF ber=FCcksichtigt w=E4re = schoen";
> > $text = eregi_replace("=(\n|$)", "", $text);
> > $text = eregi_replace("%", "=25", $text);
> > $text = eregi_replace("=([0-9a-f][0-9a-f])", "%\\1", $text);
> > $text = urldecode($text);
> > echo $text;
... als Lösung zum Dkodieren von Quoted-Printable vor.
Hab' eben entdeckt, daß PHP doch eine passende Funktion hat:
string quoted_printable_decode(string str);
Verflucht, was ist denn in diese Sprache _nicht_ schon eingebaut? :-)))
Ciao,
Martin
php::bar PHP Wiki - Listenarchive