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 "TzeKai Lee (Created) (JIRA)" <mi...@james.apache.org> on 2012/02/01 03:47:00 UTC

[jira] [Created] (MIME4J-211) Add an optional fallback charset argument to DecoderUtil.decodeEncodedWords

Add an optional fallback charset argument to DecoderUtil.decodeEncodedWords
---------------------------------------------------------------------------

                 Key: MIME4J-211
                 URL: https://issues.apache.org/jira/browse/MIME4J-211
             Project: JAMES Mime4j
          Issue Type: New Feature
            Reporter: TzeKai Lee


Add an optional fallback charset argument to DecoderUtil.decodeEncodedWords so that tryDecodeEncodedWord could try to decode with fallback charset instead of return null when the charset in RFC 2047 encoding is invalid.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MIME4J-211) Add an optional fallback charset argument to DecoderUtil.decodeEncodedWords

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

TzeKai Lee updated MIME4J-211:
------------------------------

    Attachment: fallback_charset.patch

add unit test and decode method without monitor but with fallback charset.
                
> Add an optional fallback charset argument to DecoderUtil.decodeEncodedWords
> ---------------------------------------------------------------------------
>
>                 Key: MIME4J-211
>                 URL: https://issues.apache.org/jira/browse/MIME4J-211
>             Project: JAMES Mime4j
>          Issue Type: New Feature
>            Reporter: TzeKai Lee
>         Attachments: fallback_charset.patch, fallback_charset.patch
>
>
> Add an optional fallback charset argument to DecoderUtil.decodeEncodedWords so that tryDecodeEncodedWord could try to decode with fallback charset instead of return null when the charset in RFC 2047 encoding is invalid.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (MIME4J-211) Add an optional fallback charset argument to DecoderUtil.decodeEncodedWords

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

Oleg Kalnichevski resolved MIME4J-211.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.7.3

Patch checked in. Many thanks for contributing it.

Oleg
                
> Add an optional fallback charset argument to DecoderUtil.decodeEncodedWords
> ---------------------------------------------------------------------------
>
>                 Key: MIME4J-211
>                 URL: https://issues.apache.org/jira/browse/MIME4J-211
>             Project: JAMES Mime4j
>          Issue Type: New Feature
>            Reporter: TzeKai Lee
>             Fix For: 0.7.3
>
>         Attachments: fallback_charset.patch, fallback_charset.patch, fallback_charset.patch
>
>
> Add an optional fallback charset argument to DecoderUtil.decodeEncodedWords so that tryDecodeEncodedWord could try to decode with fallback charset instead of return null when the charset in RFC 2047 encoding is invalid.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MIME4J-211) Add an optional fallback charset argument to DecoderUtil.decodeEncodedWords

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

TzeKai Lee updated MIME4J-211:
------------------------------

    Attachment: fallback_charset.patch

quick hack to add this function
                
> Add an optional fallback charset argument to DecoderUtil.decodeEncodedWords
> ---------------------------------------------------------------------------
>
>                 Key: MIME4J-211
>                 URL: https://issues.apache.org/jira/browse/MIME4J-211
>             Project: JAMES Mime4j
>          Issue Type: New Feature
>            Reporter: TzeKai Lee
>         Attachments: fallback_charset.patch
>
>
> Add an optional fallback charset argument to DecoderUtil.decodeEncodedWords so that tryDecodeEncodedWord could try to decode with fallback charset instead of return null when the charset in RFC 2047 encoding is invalid.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MIME4J-211) Add an optional fallback charset argument to DecoderUtil.decodeEncodedWords

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

TzeKai Lee updated MIME4J-211:
------------------------------

    Attachment: fallback_charset.patch

forgot to check license :/
                
> Add an optional fallback charset argument to DecoderUtil.decodeEncodedWords
> ---------------------------------------------------------------------------
>
>                 Key: MIME4J-211
>                 URL: https://issues.apache.org/jira/browse/MIME4J-211
>             Project: JAMES Mime4j
>          Issue Type: New Feature
>            Reporter: TzeKai Lee
>         Attachments: fallback_charset.patch, fallback_charset.patch, fallback_charset.patch
>
>
> Add an optional fallback charset argument to DecoderUtil.decodeEncodedWords so that tryDecodeEncodedWord could try to decode with fallback charset instead of return null when the charset in RFC 2047 encoding is invalid.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira