Return-Path: Delivered-To: apmail-hc-dev-archive@www.apache.org Received: (qmail 84838 invoked from network); 16 Dec 2010 20:12:25 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Dec 2010 20:12:25 -0000 Received: (qmail 96989 invoked by uid 500); 16 Dec 2010 20:12:25 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 96905 invoked by uid 500); 16 Dec 2010 20:12:24 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 96897 invoked by uid 99); 16 Dec 2010 20:12:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Dec 2010 20:12:24 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [92.42.190.144] (HELO ok2cons2.nine.ch) (92.42.190.144) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Dec 2010 20:12:16 +0000 Received: from [192.168.1.102] (77-57-197-206.dclient.hispeed.ch [77.57.197.206]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id 80081C0E3BE for ; Thu, 16 Dec 2010 21:11:55 +0100 (CET) Subject: Re: Strange default for StringBody default charset From: Oleg Kalnichevski To: HttpComponents Project In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Thu, 16 Dec 2010 21:11:54 +0100 Message-ID: <1292530314.9109.32.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit On Thu, 2010-12-16 at 02:04 +0000, sebb wrote: > The default charset for StringBody is currently set to Charset.defaultCharset(). > This seems odd, as it varies between hosts. > > The equivalent class in HC 3.1 appears to be StringPart, which uses > the default of "US-ASCII" for the charset name. > That seems to be a more sensible default. > > It's probably too late to change the default for 4.x, but should it be > changed for 5.x? > We do not know how long it may take until 5.0. Just go ahead and change it. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org