https://issues.apache.org/bugzilla/show_bug.cgi?id=50528
Summary: PropertyFile task mangles UTF-8 values
Product: Ant
Version: 1.8.0
Platform: PC
Status: NEW
Severity: regression
Priority: P2
Component: Optional Tasks
AssignedTo: [email protected]
ReportedBy: [email protected]
Version 1.8.0 introduced the functionality of the propertyfile task that
retains the property file structure. This new functionality is turned on by
default.
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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.