This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 151026
Collapse All | Expand All

(-)a/properties/src/org/netbeans/modules/properties/PropertiesEncoding.java (-5 / +3 lines)
Lines 787-799 Link Here
787
                        assert index <= 15;
787
                        assert index <= 15;
788
                        unicodeValue = (unicodeValue << 4) | index;
788
                        unicodeValue = (unicodeValue << 4) | index;
789
                        if (++unicodeBytesRead == 4) {
789
                        if (++unicodeBytesRead == 4) {
790
                            if ((unicodeValue == 0x20)
790
                            if (unicodeValue <= 0x20) {
791
                                    || (unicodeValue == 0x09)
792
                                    || (unicodeValue == 0x0c)) {
793
                                unicodeValueChars[3] = bChar;
791
                                unicodeValueChars[3] = bChar;
794
                                /*
792
                                /*
795
                                 * Do not translate sequences \\u0020 (Space),
793
                                 * Do not translate Unicode sequences of value
796
                                 * \\u0009 (Tab) and \\u000c (Form-feed).
794
                                 * 20h (space) or less (control characters).
797
                                 * Changing form of these unicode sequences
795
                                 * Changing form of these unicode sequences
798
                                 * to one-character form might change
796
                                 * to one-character form might change
799
                                 * semantics, which is not desirable
797
                                 * semantics, which is not desirable

Return to bug 151026