ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 50528] New: PropertyFile task mangles UTF-8 values
Date Wed, 29 Dec 2010 14:26:18 GMT

           Summary: PropertyFile task mangles UTF-8 values
           Product: Ant
           Version: 1.8.0
          Platform: PC
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Optional Tasks

Version 1.8.0 introduced the functionality of the propertyfile task that
retains the property file structure. This new functionality is turned on by

When Ant processes the properties file using this new behaviour, this is what
happens to any encoded UTF-8 characters: 

Original properties file:

test.label = Naknada za blokadu ra\u010Duna

After propertyfile processing:

test.label=Naknada za blokadu ra\u00010duna

Notice the additional 00 in the UTF-8 code.

If we set the jdkproperties="true", we get the old behaviour, and the resulting
property file looks ok:

test.label=Naknada za blokadu ra\u010duna

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message