You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/05/06 14:50:34 UTC

DO NOT REPLY [Bug 19603] - Property task with file attribute only suppoer ansi charset

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19603>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19603

Property task with file attribute only suppoer ansi charset

bodewig@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE



------- Additional Comments From bodewig@apache.org  2003-05-06 12:50 -------
This is a limitation of Java's own Properties.load method, your files are no
legal Java properties files.

With CVS HEAD you can use <loadproperties> together with an <escapeunicode>
filter, this will convert your non-ASCII characters to unicode escaped versions
(the \uABCD notation) on the fly and make Java happy.

AFAICT the code for the new filterreader should be compilable for Ant 1.5.3 as
well, so you could use it as a custom filterreader.

*** This bug has been marked as a duplicate of 17506 ***