Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 156268 - “Find in Projects” omits Cyrillic letters in properties
“Find in Projects” omits Cyrillic letters in properties
Product: utilities
Classification: Unclassified
Component: Properties
All Windows XP
: P3 (vote)
: 7.0
Assigned To: Jan Peska
Depends on:
  Show dependency treegraph
Reported: 2009-01-05 05:44 UTC by ale4349koc
Modified: 2011-09-01 16:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT


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:  
// This is a text for Latin/Cyrillic letters search Font222 = Фонт222
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
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)

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo