Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 17662 invoked from network); 29 Dec 2005 15:59:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Dec 2005 15:59:53 -0000 Received: (qmail 82399 invoked by uid 500); 29 Dec 2005 15:59:48 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 82262 invoked by uid 500); 29 Dec 2005 15:59:47 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 82251 invoked by uid 99); 29 Dec 2005 15:59:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Dec 2005 07:59:47 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [63.150.46.16] (HELO MX4.salesforce.com) (63.150.46.16) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Dec 2005 07:59:46 -0800 X-IronPort-AV: i="3.99,310,1131350400"; d="scan'208"; a="132101730:sNHT46212008" Received: from 10.0.11.3 by TMB-SF01 with ESMTP (Tumbleweed Email Firewall SMTP Relay (Email Firewall v6.2.0)); Thu, 29 Dec 2005 07:56:14 -0800 X-Server-Uuid: 4F76DE20-B023-4AFC-9B8B-CC78D6CA5946 Received: from ex-5.internal.salesforce.com ([10.0.11.19]) by EX-GW1.internal.salesforce.com with Microsoft SMTPSVC(5.0.2195.6713); Thu, 29 Dec 2005 07:59:19 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: UTF-8 text in a propertyfile? Date: Thu, 29 Dec 2005 07:59:19 -0800 Message-ID: <5298A643ABDAAE47BA3FB60C0B7B93A404519E55@ex-5.internal.salesforce.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: UTF-8 text in a propertyfile? Thread-Index: AcYMcDV9QLn6Ho4YQtiua+RCsIamdQAIH/NA From: "Steven Anderson" To: "Ant Users List" , jim.fuller@ruminate.co.uk X-OriginalArrivalTime: 29 Dec 2005 15:59:19.0086 (UTC) FILETIME=[D38F84E0:01C60C90] X-WSS-ID: 6FAAD8941V82586794-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I'm not using loadproperties, I'm loading the properties file from the commandline (ant -propertyfile ja_build.properties). Steve -----Original Message----- From: James Fuller [mailto:jim.fuller@ruminate.co.uk]=20 Sent: Thursday, December 29, 2005 4:09 AM To: Ant Users List Subject: Re: UTF-8 text in a propertyfile? Steven Anderson wrote: >I'm trying to pass a string of UTF-8 (Japanese) characters via a >property to an xslt task in ant. =20 > >If I set the property in the buildfile, with encoding=3D"UTF-8", >everything works fine. If I specify the property on the command-line >(in Windows XP), or via a UTF-8 encoded property file, the characters >are not longer UTF-8 (I think they have been turned into ASCII >characters). > =20 > try setting encoding attribute on loadproperties task. gl, Jim Fuller --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org