Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
January 25, 2005, 3:10 am
rate this thread
how can i translate this kind of message returned by the PEAR POP3 module:
For example, in this sentence I should see: "Félicitations" instead of
Is there a php function to do that?
One thing, sometimes, the message returned is not encoded, sometimes it is
encoded with UTF8 etc etc.
Many thanks for your help
- Alvaro G. Vicario
January 25, 2005, 5:39 am
This may help:
-+ Álvaro G. Vicario - Burgos, Spain
+- http://www.demogracia.com (la web de humor barnizada para la intemperie)
++ Manda tus dudas al grupo, no a mi buzón
-+ Send your questions to the group, not to my mailbox
Right. That is the magic sequence that tells you it needs to be decoded.
You can also get ?B? as the last three characters, which says the rest of
the line is BASE64 encoded, rather than quoted-printable.
Right. That's part of the specification for this e-mail header encoding.
You need to change the '_' to ' ' afterward
- Tim Roberts, email@example.com
Providenza & Boekelheide, Inc.
See the script here: http://www.cs.iitm.ernet.in/netnews/doc/guide.php
The script includes functions that do that kind of translation. The
negative: you have to wade thru a lot of code, but they do have your
Posted using the http://www.dbforumz.com interface, at author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbforumz.com/PHP-ISO-8859-ftopict190860.html
Visit Topic URL to contact author (reg. req'd). Report abuse: