Project: JDT
Bug 320133 [nls tooling] externalize strings escapes ISO 8859-1
Reported: 2010-07-16 13:24:47 | Status: verified fixed

Build Identifier: 20100218-1602 The externalize strings capability of eclipse escapes ISO 8859-1 characters, even if that is not necessary (since properties files are ISO 8859-1). E.g. "" becomes "\u00FC". This makes both the properties files less readable and might (in special cases) produce some different behavior depending on the encoding settings of your JVM Reproducible: Always Steps to Reproduce: 1. write code using a string that uses some special (but still ISO 8859-1) characters like "" 2. select "source/externalize strings" 3. see the messages.properties files and notice that the characters have been escaped

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/nls/PropertyFileDocumentModellTest.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/PropertyFileDocumentModel.java