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.

Bug 116975 - Unicode character '\u0020' in prop file replaced by a space at save
Summary: Unicode character '\u0020' in prop file replaced by a space at save
Status: RESOLVED DUPLICATE of bug 114870
Alias: None
Product: utilities
Classification: Unclassified
Component: Properties (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Marian Petras
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-27 18:18 UTC by heismann
Modified: 2007-09-28 15:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description heismann 2007-09-27 18:18:57 UTC
The unicode character '\u0020', which represents a space character, is shown as a space in the properties editor, but
when the file is saved the unicode value is replaced with a white space.

In addition to fixing this bug, I believe the unicode replacement should be an option that can be toggled as well as the
collapsing of properties files from different locales under one.

Example:

Actual contents of the properties file:
##############################################################################
# String constants
##############################################################################
constant.space = '\u0020'

What netbeans shows and writes to the file:
##############################################################################
# String constants
##############################################################################
constant.space = ' '
Comment 1 Marian Petras 2007-09-28 15:03:23 UTC
This has been already reported as issue #114870 ("Properties editor messes up unicode escape sequences for the 'space'
character in properties files") and fixed. The fix will go to NetBeans 6.0 Beta 2. There is a binary patch applicable to
Beta 1, it is attached to issue #111530.

*** This issue has been marked as a duplicate of 114870 ***