QP encoded non-ascii word doesn't decode
----------------------------------------

                 Key: MIME4J-162
                 URL: https://issues.apache.org/jira/browse/MIME4J-162
             Project: JAMES Mime4j
          Issue Type: Bug
    Affects Versions: 0.6
         Environment: Java 6
            Reporter: Rohan Hart
            Priority: Minor


This should return the original text but instead leaves it QP encoded:

DecoderUtil.decodeEncodedWords(EncoderUtil.encodeEncodedWord("привет", 
Usage.WORD_ENTITY, 0, null, Encoding.Q));

The problem appears to be that the encoding of 
=?UTF-8?Q?=D0=BF=D1=80=D0=B8=D0=B2=D0=B5=D1=82?= has a ?= immediately after the 
=?UTF-8?Q

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to