PHP Classes

Encoding question

Recommend this page to a friend!

      pop3.class.inc  >  All threads  >  Encoding question  >  (Un) Subscribe thread alerts  
Subject:Encoding question
Summary:Email body and sepecial characters
Messages:2
Author:pete
Date:2008-04-14 19:04:11
Update:2008-05-21 12:23:47
 

  1. Encoding question   Reply   Report abuse  
Picture of pete pete - 2008-04-14 19:04:11
I have an email that has the following special character in the message body

§tr8

When the message is displayed it replaces § with =A7, I need to know how to keep the original encoding if at all possible.

[message] => =A7tr8
[MIME-Version] => 1.0
[Content-Type] => text/plain; charset="Windows-1252"
[Content-Transfer-Encoding] => 7bit
[Content-Language] => en-us

Thanks for any help

  2. Re: Encoding question   Reply   Report abuse  
Picture of Steffen Stollfuß Steffen Stollfuß - 2008-05-21 12:23:47 - In reply to message 1 from pete
Hi,

what you need is a decoder for this special chars. This kind of chars will encoded while they where transfer from host to host. That should guaranteed that this chars can read by everyone.

My class doesn't touch any line of the email. So you have to decode it by yourself.

regars
j0inty