Hi,
I have a problem with MIME::Base64
and I am searching for the error since a lot of days but I do not find it.
Perhaps anybody can help me.....
I have two servers both with Redhat Linux, one with 7.3 and one with 8.0
In the first server I got emails with pdf-attachments and this emails will forwarded to the second server where I try to decode the incoming email-attachment.
But this does not work. The output is very different from the original file. But it works fine if I use webmin and other programs installed on the server! Only my encoded page does not work.
I send only the first lines of the decoded attachment:
Correct file (original):
%PDF-1.4
%äöÜß
1 0 obj
<< /Length 2 0 R
/Filter /FlateDecode
>>
stream
xœ•ZËŽä¶Ý7ÐÿPë,êŠztuWí
Decoded file:
%PDF-1.4
%äöÜß
1 0 obj
<< /Length 2 0 R
/Filter /FlateDecode
>>
stream
xϥZˎä¶Ã7ÃÿPë,ê
You can see that the files very different in Line 2 and the last two lines.
But I cannot find out why and how I can prevent this error.
It looks like there are different character-sets, but I have no idea where I can find it or where I can set it for encoding.
best regards
Christian
I have a problem with MIME::Base64
and I am searching for the error since a lot of days but I do not find it.
Perhaps anybody can help me.....
I have two servers both with Redhat Linux, one with 7.3 and one with 8.0
In the first server I got emails with pdf-attachments and this emails will forwarded to the second server where I try to decode the incoming email-attachment.
But this does not work. The output is very different from the original file. But it works fine if I use webmin and other programs installed on the server! Only my encoded page does not work.
I send only the first lines of the decoded attachment:
Correct file (original):
%PDF-1.4
%äöÜß
1 0 obj
<< /Length 2 0 R
/Filter /FlateDecode
>>
stream
xœ•ZËŽä¶Ý7ÐÿPë,êŠztuWí
Decoded file:
%PDF-1.4
%äöÜß
1 0 obj
<< /Length 2 0 R
/Filter /FlateDecode
>>
stream
xϥZˎä¶Ã7ÃÿPë,ê
You can see that the files very different in Line 2 and the last two lines.
But I cannot find out why and how I can prevent this error.
It looks like there are different character-sets, but I have no idea where I can find it or where I can set it for encoding.
best regards
Christian