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.
UTF8 in File Find
-
admin
- Site Admin
- Posts: 66347
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: UTF8 in File Find
So you want to enter a cyrillic word and find the UTF-8 encoding of it?
FAQ | XY News RSS | XY X
-
tedy
- Posts: 323
- Joined: 17 Jun 2009 21:48
Re: UTF8 in File Find
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.
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.
-
admin
- Site Admin
- Posts: 66347
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: UTF8 in File Find
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?
FAQ | XY News RSS | XY X
-
tedy
- Posts: 323
- Joined: 17 Jun 2009 21:48
Re: UTF8 in File Find
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.
That said, it sounds easy
It could be even a dropdown to allow other encodings also.
Thanks.
-
admin
- Site Admin
- Posts: 66347
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: UTF8 in File Find
Yes, I've been thinking of such a dropdown too. But it has no high prio for me at the moment.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.
FAQ | XY News RSS | XY X
XYplorer Beta Club