ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Fuller <>
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

try setting encoding attribute on loadproperties task.

gl, Jim Fuller

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message