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 154524

Summary: Message Bundle Editor replaces Unicode character literals with their ASCII equivalents
Product: utilities Reporter: heismann <heismann>
Component: PropertiesAssignee: Alexey Butenko <alexeybutenko>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description heismann 2008-12-03 19:46:11 UTC
I have a message bundle with the following key value pairs.  When I edit this file in Netbeans using the Message Bundle
Editor the non-commented lines have their Unicode character literal strings replaced with their ASCII equivalents.  This
is a problem when you save the file after editing it, the ASCII equivalents are written to the file replacing the
Unicode character literal strings.

Viewing the file in notepad or vi the message bundle looks like:

##############################################################################
# String constants
##############################################################################
# constant.space  should be  \u0020
constant.space = \u0020
# constant.carriagereturn  should be  \u000D
constant.carriagereturn = \u000D
# constant.newline should be \u000a
constant.newline = \u000a
constant.htmlOpen = <html>
constant.colon = :

Viewing the file in the Netbeans Message Bundle Editor the message bundle looks like:

##############################################################################
# String constants
##############################################################################
# constant.space  should be  \u0020
constant.space = \u0020
# constant.carriagereturn  should be  

constant.carriagereturn = 

# constant.newline should be 

constant.newline = 

constant.htmlOpen = <html>
constant.colon = :
Comment 1 Alexey Butenko 2008-12-04 11:03:13 UTC

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