ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 23568] New: - native2ascii task malfunction with property in encoding attribute
Date Thu, 02 Oct 2003 14:08:09 GMT
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=23568>.
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=23568

native2ascii task malfunction with property in encoding attribute

           Summary: native2ascii task malfunction with property in encoding
                    attribute
           Product: Ant
           Version: 1.5.4
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: richter@bgs.sk


If I use native2ascii task with encoding defined by property, it does not work
properly - build.xml snippet follows:

<property name="file.encoding" value="ISO-8859-2"/>

<native2ascii encoding="${file.encoding}"
    src="${src.home}"
    dest="${build.home}/classes"
    includes="**/*.properties"/>

Every eastern letter is escapted as \ufffd what is actualy wrong. But (in
desperation) when I tried the same with ISO-8859-2 written in encoding attribute
directly - it works properly the same way original Sun's native2ascii works. (I
had to use this just because of this bug.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message