diff -r 1d8637788dc0 properties/src/org/netbeans/modules/properties/PropertiesEncoding.java --- a/properties/src/org/netbeans/modules/properties/PropertiesEncoding.java Tue Oct 21 17:57:30 2008 +0200 +++ b/properties/src/org/netbeans/modules/properties/PropertiesEncoding.java Wed Oct 22 19:27:47 2008 +0200 @@ -787,13 +787,11 @@ assert index <= 15; unicodeValue = (unicodeValue << 4) | index; if (++unicodeBytesRead == 4) { - if ((unicodeValue == 0x20) - || (unicodeValue == 0x09) - || (unicodeValue == 0x0c)) { + if (unicodeValue <= 0x20) { unicodeValueChars[3] = bChar; /* - * Do not translate sequences \\u0020 (Space), - * \\u0009 (Tab) and \\u000c (Form-feed). + * Do not translate Unicode sequences of value + * 20h (space) or less (control characters). * Changing form of these unicode sequences * to one-character form might change * semantics, which is not desirable