Return-Path: X-Original-To: apmail-james-mime4j-dev-archive@minotaur.apache.org Delivered-To: apmail-james-mime4j-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 79640D5BF for ; Sat, 27 Oct 2012 10:42:05 +0000 (UTC) Received: (qmail 79495 invoked by uid 500); 27 Oct 2012 10:42:04 -0000 Delivered-To: apmail-james-mime4j-dev-archive@james.apache.org Received: (qmail 79300 invoked by uid 500); 27 Oct 2012 10:41:59 -0000 Mailing-List: contact mime4j-dev-help@james.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mime4j-dev@james.apache.org Delivered-To: mailing list mime4j-dev@james.apache.org Received: (qmail 79273 invoked by uid 99); 27 Oct 2012 10:41:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Oct 2012 10:41:58 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [217.150.250.48] (HELO kalnich.nine.ch) (217.150.250.48) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Oct 2012 10:41:51 +0000 Received: from [192.168.1.147] (77-57-197-206.dclient.hispeed.ch [77.57.197.206]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by kalnich.nine.ch (Postfix) with ESMTPSA id 25661B80178 for ; Sat, 27 Oct 2012 12:41:31 +0200 (CEST) Message-ID: <1351334487.24080.3.camel@ubuntu> Subject: Re: Content-Type Fallback Character Set From: Oleg Kalnichevski To: mime4j-dev@james.apache.org Date: Sat, 27 Oct 2012 12:41:27 +0200 In-Reply-To: <985bf4ce-c2c5-45c6-aae2-312fd503e4e0@mail-nic-0> References: <985bf4ce-c2c5-45c6-aae2-312fd503e4e0@mail-nic-0> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.0-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Fri, 2012-10-26 at 14:44 +0000, Rickard Ekeroth wrote: > Hello! > > Would it be possible to add a feature that would allow for specifying a fallback character set to use when the character set in a 'Content-Type' header is not recognized by Java? In the old 0.6.2 version, that we used before, the character set 'ISO-8859-1' was used as a fallback but in the 0.7.2 version an UnsupportedEncodingException is thrown when the parser encounters an unknown character set in a Content-Type header. > Rickard could you please post a complete stack trace of the exception and, if possible, the message content that caused it? Probably the best way to go about it would be to raise a change request in JIRA and attach both artifacts to it. Oleg > > Regards, > > Rickard Ekeroth > Albourne Partners (Cyprus) Ltd. > > If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Please visit http://www.albourne.com/email.html for important additional terms relating to this e-mail. > >