james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clément Denis (JIRA) <mime4j-...@james.apache.org>
Subject [jira] [Created] (MIME4J-228) Quoted-printable text part without encoding has broken characters
Date Mon, 22 Apr 2013 17:11:16 GMT
Clément Denis created MIME4J-228:

             Summary: 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ément Denis

The attached message is a multipart message with a single part in a quoted printable format,
but no specific charcter encoding.

When no content encoding specified in a body part, the DefaultMessageBuilder 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 the text should be

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message