From user-return-66608-apmail-ant-user-archive=ant.apache.org@ant.apache.org Thu Dec 11 18:00:42 2008 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 68603 invoked from network); 11 Dec 2008 11:45:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Dec 2008 11:45:42 -0000 Received: (qmail 85312 invoked by uid 500); 11 Dec 2008 11:45:50 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 85264 invoked by uid 500); 11 Dec 2008 11:45:49 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 85252 invoked by uid 99); 11 Dec 2008 11:45:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Dec 2008 03:45:49 -0800 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [192.6.10.60] (HELO tobor.hpl.hp.com) (192.6.10.60) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Dec 2008 11:45:34 +0000 Received: from localhost (localhost [127.0.0.1]) by tobor.hpl.hp.com (Postfix) with ESMTP id 50230B7DCA for ; Thu, 11 Dec 2008 11:37:01 +0000 (GMT) X-Virus-Scanned: amavisd-new at hplb.hpl.hp.com Received: from tobor.hpl.hp.com ([127.0.0.1]) by localhost (tobor.hpl.hp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id NX1x9UioLFQu for ; Thu, 11 Dec 2008 11:37:00 +0000 (GMT) Received: from 0-imap-br1.hpl.hp.com (0-imap-br1.hpl.hp.com [16.25.144.60]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tobor.hpl.hp.com (Postfix) with ESMTPS id 07CE7B7DC8 for ; Thu, 11 Dec 2008 11:36:59 +0000 (GMT) MailScanner-NULL-Check: 1229600700.66679@BqRT69ewK3FsG5s7r+hnDA Received: from [16.25.171.118] (morzine.hpl.hp.com [16.25.171.118]) by 0-imap-br1.hpl.hp.com (8.14.1/8.13.4) with ESMTP id mBBBj0pe004620 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 11 Dec 2008 11:45:00 GMT Message-ID: <4940FD3C.8090803@apache.org> Date: Thu, 11 Dec 2008 11:45:00 +0000 From: Steve Loughran User-Agent: Thunderbird 2.0.0.18 (X11/20081105) MIME-Version: 1.0 To: Ant Users List Subject: Re: Passing multi-byte strings from ANT using task References: <519c1a0c0812110032u1921da49w59cf3da1559d167c@mail.gmail.com> <519c1a0c0812110211i1305697bwf701c0c726cc0a0d@mail.gmail.com> <4940F5A4.7080903@talktalk.net> In-Reply-To: <4940F5A4.7080903@talktalk.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPL-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: mBBBj0pe004620 X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-From: stevel@apache.org X-Virus-Checked: Checked by ClamAV on apache.org - You should specify unicode content in the XML as valid XML content, not escaped \u0123 style. -The task and things that use it set up the command line; there's a risk that it could get in the way and not preserve high unicode content. If so, its something we need to test for -A more reliable way of passing data down to your app could be for Ant to pass down the name of a .properties file, a file loaded explicitly by the application with Properties.load() . Even better, use the XML format for properties and load with with properties.loadXML(). This would take the command line and ant out of the loop and be more likely to work --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org