Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

User Image
Karoly Fabricz
18 discussion posts
I would need help in configuring FileSeek to process utf8 characters in search strings (like á, é, í, ő, ű...).

Thanks in advance,

Karoly
Mar 18, 2015  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
You should be able to do this already. If you're running into trouble, could you attach a sample file, and a screenshot of the Search tab in FileSeek?

Thanks!
Mar 18, 2015  • #2
User Image
Karoly Fabricz
18 discussion posts
Sure, somehow the search does not work. Please compare the screenshots from Fileseek and Total Commander.

Best,

Karoly
• Attachment [protected]: Search-TC.jpg [74,608 bytes]
• Attachment [protected]: Search.jpg [78,569 bytes]
Mar 21, 2015  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Thanks! I think what's happening here is that FileSeek isn't guessing the correct encoding for the files you're searching. Could you try setting it manually in the Advanced Settings to windows-1252? I've attached a screenshot for reference.
• Attachment: Advanced Settings - Encoding (windows-1252).jpg [152,655 bytes]
Advanced Settings - Encoding (windows-1252).jpg
Advanced Settings - Encoding (windows-1252).jpg
Mar 24, 2015  • #4
User Image
Karoly Fabricz
18 discussion posts
I managed to manually set windows-1252 (rather than having a list to select an encoding from).
No luck.
• Attachment [protected]: no_hits.jpg [72,101 bytes]
• Attachment [protected]: win1252.jpg [65,293 bytes]
Mar 26, 2015  • #5
User Image
Karoly Fabricz
18 discussion posts
Please check this file. It appears UNIX ANSI as UTF-8.
What encoding would then be appropriate?
• Attachment [protected]: sample.txt [7,718 bytes]
Mar 26, 2015  • #6
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ah ok, could you try utf-8 in the Advanced Settings instead of windows-1252 then?
Mar 27, 2015  • #7
User Image
Karoly Fabricz
18 discussion posts
I replaced windows-1252 with utf-8, still no hits. BTW, where are the names of the encoding to be used listed?

Maybe encoding for doc files in the Search panel is okay, but a conversion would be needed to match input with utf-8.

Thanks, Karoly
• Attachment [protected]: no_hits_2.jpg [74,647 bytes]
Apr 1, 2015  • #8
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Strange! utf-8 worked for me when searching the sample.txt that you attached in the previous post. Is that sample.txt different than the files you're doing your test search on?
Apr 7, 2015  • #9
User Image
Karoly Fabricz
18 discussion posts
No, it is one of the many txt files from the same folder.
Did you use the same search string?
How did you enter "é"?
Apr 15, 2015  • #10
Keith Lammers (BFS)'s profile on WallpaperFusion.com
I copied and pasted "érvény" right out of the text file itself :)
Apr 16, 2015  • #11
User Image
Karoly Fabricz
18 discussion posts
So did I (copy from text and paste immediately into FileSeek Search field).

See output & settings.
• Attachment [protected]: No_hit_again.jpg [69,637 bytes]
• Attachment [protected]: Settings.jpg [69,751 bytes]
Apr 20, 2015  • #12
Keith Lammers (BFS)'s profile on WallpaperFusion.com
I wonder if it's related to the Windows language. Are you running Windows in Hungarian as well?
Apr 20, 2015  • #13
User Image
Karoly Fabricz
18 discussion posts
Yes, It is Windows 7 with HU as the default language.
Apr 21, 2015  • #14
User Image
Karoly Fabricz
18 discussion posts
The tricky thing is I get hits in doc & docx files, so there should be some conversion issue here.
Perhaps some other setting of txt might help.
Apr 22, 2015  • #15
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, interesting! Can you send me a screenshot of the Settings > File Handlers tab, showing the path to the handler DLL for .txt?
Apr 24, 2015  • #16
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Also, do you have "Process File Contents using File Handlers" enabled on the Advanced tab? If you do, could you try disabling it to see if that makes a difference?
Apr 24, 2015  • #17
User Image
Karoly Fabricz
18 discussion posts
This is what I can send you.
While txt files are set to use query.dll, I found no way to modify this setting.

Do let me know if you need more screenshots.

Karoly
• Attachment [protected]: Advanced.jpg [68,796 bytes]
• Attachment [protected]: Preview_Handlers.jpg [148,219 bytes]
Apr 29, 2015  • #18
User Image
Karoly Fabricz
18 discussion posts
And the txt handler screenshot.
• Attachment [protected]: txt_handler.jpg [121,603 bytes]
Apr 29, 2015  • #19
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, 2 new questions for you:
  • On the Advanced tab in the main window (the window that has the Search, Advanced, File Size, and Date Filters tabs), do you have "Process contents using file handlers" enabled? If so, if you disable it does that make a difference?
  • It looks like the .txt handler is disabled in the Settings. If you select it and click the Enable button, does that help?
Apr 29, 2015  • #20
User Image
Karoly Fabricz
18 discussion posts
>> On the Advanced tab in the main window (the window that has the Search, Advanced, File Size, and Date Filters tabs), do you have "Process contents using file handlers" enabled? If so, if you disable it does that make a difference?

Yes, the option is ticked. Following disabling it, FileSeek works as expected.
Funnily, on re-ticking the option, the behavior is the same.
• Attachment [protected]: Disabled.jpg [114,022 bytes]
• Attachment [protected]: Then_Enabled.jpg [116,869 bytes]
Apr 30, 2015  • #21
User Image
Karoly Fabricz
18 discussion posts
>> It looks like the .txt handler is disabled in the Settings. If you select it and click the Enable button, does that help?

Cf. the screenshots attached.
• Attachment [protected]: Disabled_But_TXT_Handler_Enabled.jpg [112,069 bytes]
• Attachment [protected]: Setting-TXT_Handler_Enabled.jpg [83,847 bytes]
Apr 30, 2015  • #22
User Image
Karoly Fabricz
18 discussion posts
In sum: when the file handler is turned off, FileSeek searches txt with characters above 127. It does not then, of course, search docx files without the file handler turned on.

Thanks for sorting this issue out: at least I have a last resort.

Karoly
Apr 30, 2015  • #23
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ah ok. I've re-tested all of this, and it seems to not work if I have the .txt handler enabled in Settings > File Handlers, and "Process contents using file handlers" enabled on the Advanced tab.

If I disable the .txt handler on Settings > File Handlers, I can leave "Process contents using file handlers" enabled, and it will find text in sample.txt without issues. Even if I remove the "utf-8" from the Advance Settings, it still works. So, if you do the same (see below), does it work for you?
  • In Settings > File Handlers, disable the .txt handler
  • In the Settings > Advanced Settings, clear the "utf-8" text from the custom encoding option
  • On the Advanced tab, enable "Process contents using file handlers"
  • Try to search sample.txt
May 1, 2015  • #24
User Image
Karoly Fabricz
18 discussion posts
Yes, that is the correct roundabout.
Perhaps the information might be included in the documentation.

Best,

Karoly
May 5, 2015  • #25
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Awesome, glad to hear it! I've added it to our FAQ now as well :)
May 8, 2015  • #26
User Image
Karoly Fabricz
18 discussion posts
Thank you, Keith.

Karoly
May 11, 2015  • #27
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)