Re: problems with 8bit headers and html mail

Ming-Li <[email protected]> Wed, 27 Oct 2004 06:30:13 +0800
Newsgroups gmane.mail.zoe.general
Message-ID <[email protected]>
Hi Raphael, (I found others call you this; I hope it's right)

> Yes, if you could highlight the problems you went through, this would  
> would be very valuable for me as well.

OK, will probably do it over the weekend. I'm new to wiki, too, and will
need to learn a little in order not to mess anything up.

> >  but they're very
> > commonly used in DBCS world.
> 
> Bummer :/

Indeed, and I'll try to convert a few "repeated offenders." That said,
only the unencoded form is human legible when one has to read the source.
Plus, some MTA still have bugs encoding/decoding, while almost all mail
servers in Taiwan have been configured to be 8bit-header compatible. So
I guess we won't get rid of this violation anytime soon.

> > It would be nice if ZOE can apply the information of "charset" to the
> > headers, if it sees 8bit characters there. 
>
> Hmmm... I see... we can give it a try... could you send me a sample  
> email which exhibit this behavior? 

OK, done with private mail.

> Alternatively, Mozilla can forward emails as proper message/rfc822  
> attachements as well.

Becky (my current MTA) should do that properly as well. Please let me
know if it doesn't.

> > The second problem is with html-only mail in
> > Chinese that uses 8bit content transfer encoding. 
> 
> Hmmm... this sounds like a bug... ZOE uses a third party library  
> (JTidy) to handle the HTML parsing... I need to double check how the  
> charset handling is done there... in any case, could you forward me a  
> sample of such a message? This will help in tracking down the problem.

OK. I don't know how to make one (never write html mail, let alone
pure-html), so I'll just pass along one in my archive. It's a Chinese
newsletter, so it's quite long.

-- 
Best regards,
Ming-Li



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click