Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 24008 invoked from network); 29 Dec 2005 12:05:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Dec 2005 12:05:50 -0000 Received: (qmail 67584 invoked by uid 500); 29 Dec 2005 12:05:46 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 67529 invoked by uid 500); 29 Dec 2005 12:05:45 -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 67518 invoked by uid 99); 29 Dec 2005 12:05:45 -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 04:05:45 -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 [69.20.13.113] (HELO server1.ruminate.co.uk) (69.20.13.113) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Dec 2005 04:05:44 -0800 Received: from [213.195.208.38] ([213.195.208.38]) (authenticated) by server1.ruminate.co.uk (8.11.6/8.11.6) with ESMTP id jBTC5N407260 for ; Thu, 29 Dec 2005 07:05:23 -0500 Message-ID: <43B3D1DC.9020007@ruminate.co.uk> Date: Thu, 29 Dec 2005 13:09:00 +0100 From: James Fuller Reply-To: jim.fuller@ruminate.co.uk Organization: Webcomposite User-Agent: Mozilla Thunderbird 1.0.7 (Macintosh/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: UTF-8 text in a propertyfile? References: <5298A643ABDAAE47BA3FB60C0B7B93A404519E16@ex-5.internal.salesforce.com> In-Reply-To: <5298A643ABDAAE47BA3FB60C0B7B93A404519E16@ex-5.internal.salesforce.com> X-Enigmail-Version: 0.90.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Steven Anderson wrote: >I'm trying to pass a string of UTF-8 (Japanese) characters via a >property to an xslt task in ant. > >If I set the property in the buildfile, with encoding="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). > > 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