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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to