Page 1 of 1
UTF8 in File Find
Posted: 24 Feb 2010 16:28
by tedy
I use XY most of the time to navigate and manage thousands of PHP files which use utf-8 encoding and lots of international text, most notably cyrillic.
Sure my IDEs have some decent file search capabilities, but I got used to XY's search just in place where I manage files with ease.
Is there some plan to make File Find with Content search on, utf8-aware? If it is not that hard to implement.
Thanks.
Re: UTF8 in File Find
Posted: 26 Feb 2010 18:00
by admin
So you want to enter a cyrillic word and find the UTF-8 encoding of it?
Re: UTF8 in File Find
Posted: 02 Mar 2010 14:03
by tedy
I want to open (F12) the Find Files dialog, search for *.php (or whatever the file mask), enable Content tab and search for files that contain Cyrillic text inside, and the files are encoded in UTF8

.
If possible, that should definitely be specified by a checkbox to switch between native windows UTF16 and UTF8 content search.
Doing this through my IDE software is beneficial for fast inline file open and edit, but if not too much trouble, and if requested by other users, I'd like to see it in XY someday.
Re: UTF8 in File Find
Posted: 02 Mar 2010 17:56
by admin
If I get that right, I only have to convert your Cyrillic input (into the textbox) to utf8 and then do the normal search job, right?
Re: UTF8 in File Find
Posted: 08 Mar 2010 11:29
by tedy
Yes, I guess so.
That said, it sounds easy

. of course with a checkbox to select between native Windows and UTF8 representation I guess.
It could be even a dropdown to allow other encodings also.
Thanks.
Re: UTF8 in File Find
Posted: 08 Mar 2010 11:38
by admin
tedy wrote:Yes, I guess so.
That said, it sounds easy

. of course with a checkbox to select between native Windows and UTF8 representation I guess.
It could be even a dropdown to allow other encodings also.
Thanks.
Yes, I've been thinking of such a dropdown too. But it has no high prio for me at the moment.