Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 83530 invoked from network); 21 Feb 2003 07:10:24 -0000 Received: from bodewig.bost.de (195.227.98.11) by daedalus.apache.org with SMTP; 21 Feb 2003 07:10:24 -0000 Received: (from bodewig@localhost) by bodewig.bost.de (8.11.6/8.11.6) id h1L7AZJ13177; Fri, 21 Feb 2003 08:10:35 +0100 X-Authentication-Warning: bodewig.bost.de: bodewig set sender to bodewig@apache.org using -f To: user@ant.apache.org Subject: Re: international encoding (hebrew) and property task References: <02f101c2d925$aa9b7f90$030200c0@DJ0X820J> From: Stefan Bodewig Date: 21 Feb 2003 08:10:35 +0100 In-Reply-To: <02f101c2d925$aa9b7f90$030200c0@DJ0X820J> Message-ID: Lines: 22 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Military Intelligence) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Thu, 20 Feb 2003, Antoine Levy-Lambert 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. 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 instead and leave the poor overloaded task alone 8-) Stefan