Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
Delphi-BCB
IDE
Search
Find
Find Error
Find in Files
Replace
You are not logged in.
Help
Print
Public Report
Report From:
Delphi-BCB/IDE/Search/Find in Files
[ Add a report in this area ]
Report #:
88114
Status:
Closed
Search non latin1 chars on ANSI source file
Project:
Delphi
Build #:
XE
Version:
15.0
Submitted By:
Israel Ministry of Defence
Report Type:
Basic functionality failure
Date Reported:
9/16/2010 5:27:16 AM
Severity:
Commonly encountered problem
Last Updated:
9/5/2012 8:14:06 PM
Platform:
All platforms
Internal Tracking #:
280592
Resolution:
Fixed
(Resolution Comments)
Resolved in Build:
:
17.0.4625.53395
Duplicate of:
None
Voting and Rating
Overall Rating:
No Ratings Yet
0.00 out of 5
Total Votes:
94
Description
Hello,
The problem is in "Find in files" function in Delphi XE and Delphi 2010. The problem does not exist in Delphi 2007.
The problem is finding non-latin strings in ANSII encoded source files (not UTF8).
OS: WinXP
Default encoding: Hebrew.
if I search for a Hebrew string in a non opend file, it doesn't find it.
if I open the file in Delphi editor, and try to find the string, it does find .
if I save the file in UTF8 instead of ANSII then it does find the string.
Steps to Reproduce:
0. Goto "Regional and lanuguage options", Advance, and change the Language for non-Unicode programs to Hebrew (otherwise you won't be able to save a file with Hebrew chars as ANSII, but only as UTF8)
1. Create a new VCL application project
2. write a Hebrew string, for instace - ???
3. save the unit, if your default encoding is Hebrew then saving in UTF8 won't be suggested. save it as ANSII.
4. press Ctrl+Shift+F serch for the string, you'll find it.
4. close the file.
5. Ctrl+Shift+F search for the string, you WON'T find it.
6. re-open the file.
7. save it as UTF8
8. close the file
9. try to find the string again. you'll find it now.
I belive that this problem can be reproduced in any non-latin1 encoded chars in ANSII files (Russsian, Arabic, Greek...)
Workarounds
Save the sourfe file in UTF8.
Attachment
88114.zip
Comments
Tomohiro Takahashi at 9/16/2010 5:54:02 PM
-
I deleted QC#88113 as Sysop.
Thanks.
Tomohiro Takahashi at 9/16/2010 5:58:11 PM
-
Is your issue same as QC#81840, QC#67019 ?
Israel Ministry of Defence at 9/19/2010 8:18:25 AM
-
I don't think it's a duplicate. it might be related though.
this bug is about .pas files, and the ones you stated are about dfm files.
non-ansi strings are saved diffrently in pas and dfm files.
Tomohiro Takahashi at 9/19/2010 5:36:59 PM
-
Sorry, I misunderstood your issue.
Is your issue same as(similar to) QC#83284 or QC#80843 ?
Israel Ministry of Defence at 9/27/2010 5:58:49 AM
-
no.
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us