classpathx-javamail
[Top][All Lists]
Advanced

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

[Classpathx-javamail] Bug: broken handling of non-ascii characters in mb


From: Michal Kochanowicz
Subject: [Classpathx-javamail] Bug: broken handling of non-ascii characters in mbox'es
Date: Tue, 29 Jun 2004 00:03:24 +0200
User-agent: Mutt/1.4.2.1i

Hi

Reading of MBox folders causes all non-ascii characters to be replaced
with question marks (non-ascii characters can appear in 8bit encoded
mails).

It is caused by LineInputStream which is used in open() method of
MboxFolder class. The LineInputStream uses same encoding while reading
entire mbox, while each mail can have different encoding. Note that it
uses US-ASCII, which in fact messes all other encodings :(

Is there any chance for this bug to be fixed?

I use attached version, but the fix is rather ugly.
-- 
--= Michal Kochanowicz =--==--==BOFH==--==--= address@hidden =--
--= finger me for PGP public key or visit http://michal.waw.pl/PGP =--
--==--==--==--==--==-- Vodka. Connecting people.--==--==--==--==--==--
A chodzenie po górach SSIE!!!

Attachment: MboxFolder.java
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]