Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 77288 invoked from network); 28 Dec 2006 12:39:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Dec 2006 12:39:27 -0000 Received: (qmail 32403 invoked by uid 500); 28 Dec 2006 12:39:27 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 32374 invoked by uid 500); 28 Dec 2006 12:39:26 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 32363 invoked by uid 99); 28 Dec 2006 12:39:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Dec 2006 04:39:26 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [217.147.92.82] (HELO knox.decisionsoft.com) (217.147.92.82) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Dec 2006 04:39:17 -0800 Received: from itchen.dsl.local ([10.0.0.65]) by knox.decisionsoft.com with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1GzuWa-0001KO-BS for commons-user@jakarta.apache.org; Thu, 28 Dec 2006 12:38:20 +0000 Received: from aks by itchen.dsl.local with local (Exim 4.63) (envelope-from ) id 1GzuWe-0003Ry-Nm for commons-user@jakarta.apache.org; Thu, 28 Dec 2006 12:38:24 +0000 Date: Thu, 28 Dec 2006 12:38:24 +0000 From: Andrew Shirley To: Jakarta Commons Users List Subject: Re: [Configuration] UTF-8 encoding problem Message-ID: <20061228123824.GY2986@itchen.dsl.local> Mail-Followup-To: Jakarta Commons Users List References: <20061228111521.GX2986@itchen.dsl.local> <1167307251.5267.47.camel@blackbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1167307251.5267.47.camel@blackbox> User-Agent: mutt-ng/devel-r804 (Linux) Sender: "Andrew Shirley,,,07909933820" X-SA-Exim-Connect-IP: 10.0.0.65 X-SA-Exim-Mail-From: aks@decisionsoft.com X-SA-Exim-Scanned: No (on knox.decisionsoft.com); SAEximRunCond expanded to false X-Loop: systemfilter.decisionsoft.com X-SystemFilter-new: not expanding X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Dec 29, 2006 at 01:00:51AM +1300, Simon Kitching wrote: > On Thu, 2006-12-28 at 11:15 +0000, Andrew Shirley wrote: > > On Thu, Dec 28, 2006 at 11:30:07AM +0100, DECAFFMEYER MATHIEU wrote: > > > > > > Hi, > > > > > > I am using Jakarta Configuration to manipulate some XML files. > > > > > > > > > > > > > What do u suggest me to do ? > > > > > > Thank u for any help ! Will be greatly appreciated ! > > > > This may be that the file isn't actually UTF-8 i.e. it contains some > > extended ASCII characters. The usual problem in the uk is the pound > > sign but the euro is probably a good candidate as well. I would check > > that you are only using the standard (i.e. < 128) ascii characters. > > The UTF-8 encoding can handle any character at all, not just ASCII. > This is true however editing in utf8 is still not straight forward to set up. When using xml, I would recommend restricting yourself to ASCII (<128) and handling any other requirements as an entity, this is far less likely to break and is more portable. Apologies if I confused the utf8/ascii issue. Andrew Shirley --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org