ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Fuller <jim.ful...@ruminate.co.uk>
Subject Re: UTF-8 text in a propertyfile?
Date Thu, 29 Dec 2005 12:09:00 GMT
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


Mime
View raw message