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 156268 - “Find in Projects” omits Cyrillic letters in properties
Summary: “Find in Projects” omits Cyrillic letters in properties
Status: REOPENED
Alias: None
Product: utilities
Classification: Unclassified
Component: Properties (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Jan Peska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-05 05:44 UTC by ale4349koc
Modified: 2011-09-01 16:00 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 ale4349koc 2009-01-05 05:44:58 UTC
I use NetBeans IDE 6.5 (Build 200811100001) and create the projects with internationalization. Of course, I use
non-Latin letters. When I do “Find in Projects” search, it omits Cyrillic letters at any properties file. To recreate:
Use next Latin/Cyrillic comment in the code and in the properties:  
[code]
// This is a text for Latin/Cyrillic letters search Font222 = Фонт222
[/code]  
The “Font222” is findable everywhere. The “Фонт222” is not findable at properties files.
Comment 1 Alexey Butenko 2009-02-02 11:51:34 UTC
WORKSFORME. Probably was fixed in 48263.
Comment 2 ale4349koc 2010-01-07 02:07:53 UTC
The problem is still exist. Currently I use:
Product Version: NetBeans IDE 6.8 (Build 200912041610) 
Java: 1.6.0_17; Java HotSpot(TM) Client VM 14.3-b01 
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)
Comment 3 Victor Vasilyev 2010-05-12 23:45:45 UTC
Current implementation searches the specified text in files directly to provide quick searching, but Cyrillic characters are represented in the properties files as Unicode escapes.
E.g. the text "Русский текст" will be represented as
"\u0420\u0443\u0441\u0441\u043A\u0438\u0439 \u0442\u0435\u043A\u0441\u0442"

As a variant to fix this bug we might have an option "treat as Unicode escapes" that is associated with the field "Containing Text" in the "Find in Projects" dialog.
If the option is checked then a value of the field "Containing Text" will be converted to the Unicode escapes before searching in files.

Unfortunately, this bug should be addressed to the next release.
Comment 4 ale4349koc 2011-01-14 04:32:04 UTC
14.01.11
The problem is still exist. Currently I use:
Product Version: NetBeans IDE 6.8 (Build 200912041610) 
Java: 1.6.0_21; Java HotSpot(TM) 64-Bit Server VM 17.0-b17 
System: Windows 7 version 6.1 running on amd64; Cp1251; ru_RU (nb)