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:[EMAIL PROTECTED] 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to