- Timestamp:
- 2014-01-16T02:58:44+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/TagEditHelper.java
r6699 r6700 27 27 import java.awt.event.WindowEvent; 28 28 import java.awt.image.BufferedImage; 29 import java.text.Normalizer; 29 30 import java.util.ArrayList; 30 31 import java.util.Arrays; … … 332 333 private void performTagEdit() { 333 334 String value = Tag.removeWhiteSpaces(values.getEditor().getItem().toString()); 334 // is not Java 1.5 335 //value = java.text.Normalizer.normalize(value, java.text.Normalizer.Form.NFC); 335 value = Normalizer.normalize(value, java.text.Normalizer.Form.NFC); 336 336 if (value.isEmpty()) { 337 337 value = null; // delete the key 338 338 } 339 339 String newkey = Tag.removeWhiteSpaces(keys.getEditor().getItem().toString()); 340 //newkey = java.text.Normalizer.normalize(newkey, java.text.Normalizer.Form.NFC);340 newkey = Normalizer.normalize(newkey, java.text.Normalizer.Form.NFC); 341 341 if (newkey.isEmpty()) { 342 342 newkey = key;
Note:
See TracChangeset
for help on using the changeset viewer.