ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Anderson" <sander...@salesforce.com>
Subject RE: UTF-8 text in a propertyfile?
Date Thu, 29 Dec 2005 15:59:19 GMT
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] 
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.  
>
>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


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message