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 - Message Bundle Editor replaces Unicode character literals with their ASCII equivalents
Summary: Message Bundle Editor replaces Unicode character literals with their ASCII eq...
Status: RESOLVED DUPLICATE of bug 151026
Alias: None
Product: utilities
Classification: Unclassified
Component: Properties (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Alexey Butenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-03 19:46 UTC by heismann
Modified: 2008-12-04 11: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 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 ***