Return-Path: X-Original-To: apmail-james-mime4j-dev-archive@minotaur.apache.org Delivered-To: apmail-james-mime4j-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E14C5D1BF for ; Tue, 21 May 2013 13:37:22 +0000 (UTC) Received: (qmail 27584 invoked by uid 500); 21 May 2013 13:37:23 -0000 Delivered-To: apmail-james-mime4j-dev-archive@james.apache.org Received: (qmail 27402 invoked by uid 500); 21 May 2013 13:37:18 -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 27233 invoked by uid 99); 21 May 2013 13:37:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 May 2013 13:37:16 +0000 Date: Tue, 21 May 2013 13:37:16 +0000 (UTC) From: =?utf-8?Q?Cl=C3=A9ment_Denis_=28JIRA=29?= To: mime4j-dev@james.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MIME4J-228) Quoted-printable text part without encoding has broken characters MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MIME4J-228?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1366= 2973#comment-13662973 ]=20 Cl=C3=A9ment Denis commented on MIME4J-228: -------------------------------------- OK, it's clear now why it defaults to us-ascii (the value seemed arbitrary = at first). I was a bit confused by this issue, because I thought the quoted-printable = encoding was charset-independant, but obviously it's not ! I'll open a improvement request. Thanks. =20 > Quoted-printable text part without encoding has broken characters > ----------------------------------------------------------------- > > Key: MIME4J-228 > URL: https://issues.apache.org/jira/browse/MIME4J-228 > Project: James Mime4j > Issue Type: Bug > Components: parser (core) > Affects Versions: 0.7.2 > Environment: Windows 7 64bits > Oracle Java 1.7.0_17 > Reporter: Cl=C3=A9ment Denis > Attachments: quotedprintablewithoutencoding.mime > > > The attached message is a multipart message with a single part in a quote= d printable format, but no specific charcter encoding. > When no content encoding specified in a body part, the DefaultMessageBuil= der defaults to us-ascii. But the output of the QuotedPrintableInputStream = used to decode the text is actually ISO_8859_1 (at least in my environment)= . > Quoted printable text should not depend on the encoding of the text, so t= he text should be fine. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira