You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mime4j-dev@james.apache.org by "Rohan Hart (JIRA)" <mi...@james.apache.org> on 2010/01/12 19:47:54 UTC

[jira] Created: (MIME4J-162) QP encoded non-ascii word doesn't decode

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.


[jira] Resolved: (MIME4J-162) QP encoded non-ascii word doesn't decode

Posted by "Stefano Bagnara (JIRA)" <mi...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/MIME4J-162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefano Bagnara resolved MIME4J-162.
------------------------------------

       Resolution: Duplicate
    Fix Version/s: 0.7

THis is a duplicate of MIME4J-138, solved in trunk. 

> 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
>             Fix For: 0.7
>
>
> 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.