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 219545 - Search won't find unicode escapes in property files
Summary: Search won't find unicode escapes in property files
Status: NEW
Alias: None
Product: utilities
Classification: Unclassified
Component: Properties (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jan Peska
URL:
Keywords:
: 215233 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-10-04 18:13 UTC by swpalmer
Modified: 2013-10-26 00:21 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (82.11 KB, text/plain)
2012-10-04 18:13 UTC, swpalmer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description swpalmer 2012-10-04 18:13:17 UTC
Product Version = NetBeans IDE Dev (Build 201210040002)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.7.0_07
Runtime = Java HotSpot(TM) Client VM 23.3-b01

I wanted to find where I had used \u2122 (TM) to replace it with \u0AE  (R)
The search doesn't find the actual ASCII strings that are in the properties file.
Also, the NetBeans editor (both in text mode and the table mode that is sometimes used for .properties files) only shows the final unicode character, making it hard to use the editor to replace it.
Comment 1 swpalmer 2012-10-04 18:13:21 UTC
Created attachment 125400 [details]
IDE log
Comment 2 Milutin Kristofic 2012-10-16 15:01:58 UTC
1. Open a.property file
2. write \u2122
3. close window
4. click edit a.property file

Expected behavior : I will see \u2122
Actual behavior: There is no \u2122 but (TM)

In java file, you have expected behavior.

It is ok - showing TM in table mode (open property file), but not in edit mode. And also it is not ok to saving it with (TM). It should save it as \u2122
Comment 3 Milutin Kristofic 2012-10-16 15:18:06 UTC
*** Bug 215233 has been marked as a duplicate of this bug. ***