james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <o...@ok2consulting.com>
Subject Re: Fallback charset in DecoderUtil.decodeEncodedWords ?
Date Tue, 31 Jan 2012 14:33:05 GMT
On Mon, 2012-01-30 at 18:13 +0800, Tze-Kei Lee wrote:
> Hi,
> 
> I am trying to decode emails with MIME content using mime4j.
> 
> Sometimes the charset of encoded word of a RFC 2047 encoding is not a
> valid charset name (usually it's a spam),
> but several client will try to decode it with fallback charset when
> dealing subject (outlook/live mail will try system locale, thunderbird
> will try UTF-8, and gmail will try both).
> 
> I suggest adding an optional fallback charset argument so
> tryDecodeEncodedWord could try to decode with fallback charset instead
> of return null.
> 
> Best Regards
> 
> Tze-Kei

Tze-Kei

Please raise a JIRA for this change request.

Oleg


Mime
View raw message