On Fri, 13 Jul 2007, Tan Shao Yi wrote:
Content-Type: text/html; "charset=iso-8859-1"
...........................^..................^

Those double quotes are the problem. They are completely bogus syntax, and prevent the parsing of the CHARSET attribute.

Assuming that you actually care about reading those messages, and they are not spam, the only reasonable recourse is to tell the individuals who manage the optionetics.com system that they need to comply with the published MIME protocol specifications and not guess at what constitutes valid MIME.

On a practical basis, it is impossible to make a parser comprehend every possible invalid syntax that is dreamed up by some lazy individual who refuses to follow the specifications. Equally important, well-intentioned code to parse some invalid syntax is likely to have the unexpected side effect of mis-parsing valid syntax.

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.
_______________________________________________
Imap-uw mailing list
Imap-uw@u.washington.edu
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to