From mime4j-dev-return-706-apmail-james-mime4j-dev-archive=james.apache.org@james.apache.org Thu Dec 24 15:51:54 2009 Return-Path: Delivered-To: apmail-james-mime4j-dev-archive@minotaur.apache.org Received: (qmail 49945 invoked from network); 24 Dec 2009 15:51:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Dec 2009 15:51:54 -0000 Received: (qmail 66268 invoked by uid 500); 24 Dec 2009 15:51:54 -0000 Delivered-To: apmail-james-mime4j-dev-archive@james.apache.org Received: (qmail 66234 invoked by uid 500); 24 Dec 2009 15:51:54 -0000 Mailing-List: contact mime4j-dev-help@james.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mime4j-dev@james.apache.org Delivered-To: mailing list mime4j-dev@james.apache.org Received: (qmail 66224 invoked by uid 99); 24 Dec 2009 15:51:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Dec 2009 15:51:54 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [87.248.110.141] (HELO n24.bullet.mail.ukl.yahoo.com) (87.248.110.141) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 24 Dec 2009 15:51:43 +0000 Received: from [217.12.4.215] by n24.bullet.mail.ukl.yahoo.com with NNFMP; 24 Dec 2009 15:51:30 -0000 Received: from [87.248.110.114] by t2.bullet.ukl.yahoo.com with NNFMP; 24 Dec 2009 15:51:22 -0000 Received: from [127.0.0.1] by omp219.mail.ukl.yahoo.com with NNFMP; 24 Dec 2009 15:51:22 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 149400.61003.bm@omp219.mail.ukl.yahoo.com Received: (qmail 8259 invoked by uid 60001); 24 Dec 2009 15:51:21 -0000 Message-ID: <732473.85812.qm@web23004.mail.ird.yahoo.com> X-YMail-OSG: kJBChO8VM1ljvK.SkpR_RZEBXO5bjH.E8p5NHusU_MuF9C9cRfsBq61Gsbf9142DauPNIOSplcpFOAzeB6kdh_sJGIC9F3zOJoxpzMRCJaR.ATt6oEH_C3wPbns5g9XdQCOg.6h4nVIQhyIIN08i8pBS7r70opMiNl0HuUHFraBICtOzjnetqal4KI1tGkvwRvzrq1MpUUrAQ4dicUPByd7cwph6vrN0buVdWgF8twlvRGFwCrh8Idk2k2wltpnvD8wYNUAjsAp0vMrHTFAgoT975btv5NlgMJ612b0j81EEwMBZR3_aVpCHsURWhkxqNe8vfLPbg3l6HiU7PI8- Received: from [212.190.144.11] by web23004.mail.ird.yahoo.com via HTTP; Thu, 24 Dec 2009 15:51:21 GMT X-RocketYMMF: darkman_spam X-Mailer: YahooMailClassic/9.0.20 YahooMailWebService/0.8.100.260964 Date: Thu, 24 Dec 2009 15:51:21 +0000 (GMT) From: Florent Georges Reply-To: lists@fgeorges.org Subject: Shouldn't Reader convert \r\n to \n? To: mime4j-dev@james.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi,=0A=0A I am using a MimeTokenStream to parse a multipart message. Fo= r=0Abodies with textual content (for instance text/plain), I get a=0AReader= object from MimeTokenStream.getReader(). Unfortunately,=0Ait seems to not= convert \r\n (correct end of line in messages on=0Athe wire) to \n (correc= t end of line in Java strings).=0A=0A Is this a bug or did I miss somethin= g?=0A=0A Regards,=0A=0A-- =0AFlorent Georges=0Ahttp://www.fgeorges.org/=0A= =0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A