On Thu, 20 Feb 2003, Antoine Levy-Lambert <[EMAIL PROTECTED]>
wrote:

> When I tried instead to get my hebrew message from a property file,
> I got garbage, and I have a suspicion that the property task does
> not process properly (or cannot process) files containing
> UTF8.

<property> uses 

                FileInputStream fis = new FileInputStream(file);
                try {
                    props.load(fis);

which would need to be modified if you want a different encoding than
the platform's default.

If you want to dive in and patch it, may I suggest to add the encoding
attribute to <loadproperties> instead and leave the poor overloaded
<property> task alone 8-)

Stefan

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

Reply via email to