[Evolution-hackers] Evo won't display special characters



Hi all.  Occasionally I get email from someone and they include a
special character in the email (this is html mail).  When this happens,
the entire paragraph/section of that email is completely elided and only
a [?] token is shown in the email, no matter how large the HTML segment
is.

As an example, I got an email today with this content:

        --PMV------869e2a4bca493b41ddcabffbb890e8ba
        Content-Type: text/html
        Content-Disposition: inline
        Content-Transfer-Encoding: 8bit
        
        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
        <HTML>
        <HEAD>
        <TITLE>Message</TITLE>
        <META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
        <META content="MSHTML 6.00.2800.1141" name=GENERATOR>
        <STYLE></STYLE>
        </HEAD>
        <BODY bgColor=#ffffff>
        <table border='0' cellpadding='5' width='90%' align='left'>
        
        <tr><td colspan='6' width='100%'><div style='font-family:Arial; font-size:12pt;'><br />
         <br />
           blah blah blah \224 blah blah blah<br />
         <br />
           foo foo foo<br />
        </div></td></tr>
        </font></body></html>
        --PMV------869e2a4bca493b41ddcabffbb890e8ba--

Etc., except instead of \224 was the single character with ASCII
character code \224.

When evo formatted this message, it looked like:

        [?]
        
        foo foo foo

The entire paragraph containing the "blah blah blah" (and this was a
large paragraph, and there were even multiple paragraphs like this) was
completely omitted and replaced with just a [?]  This obviously makes
the message very hard to read :-).

I understand that this is very likely an invalid message and that \224
is a bogus character in an iso-8859-1 charset.

But, couldn't the rest of the (legal) text in that HTML segment be
displayed at least?  The unprintable characters can be replaced with
something else but why not show the rest of the text?



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