[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CSS & MHonArc markup experiment



Ok, here are the details:


In readmail.pl we had to fix a bug (it may be already fixed in cvs, as it was reported earlier by my colleague). The line


&$encfunc(\$strtxt, $charset, $TextEncode);

has to be replaced with

&$encfunc(\$strtxt, $real_charset, $TextEncode);



Also, in MAILdecode_1522_str we delete the 8th bit of all headers. This is compliant with the MIME standard. This line was added after getting the text encoder:

$str =~ tr [\200-\377] [\000-\177];



Also, in mhtxtplain.pl after ## Fixup any EOL mess:

## Fix invalid XML characters
$$data =~ s/\x0c//g;

This does not catch all invalid XML characters, but the one that killed us in our mails.

cheers,

Ulrich

--
Ulrich Mayring
DENIC eG, Systementwicklung


[Index of Archives]     [Bugtraq]     [Yosemite News]     [Mhonarc Home]