Page 1 of 1

Lister: Search in Unicode/UTF8

Posted: 2009-09-19, 08:55 UTC
by gizmocuz
It would be nice if we could also search in Unicode/UTF8 like we can do now in the 'Find Files' dialog.

With regards,
Rob

It works

Posted: 2009-09-19, 09:04 UTC
by Clo
2gizmocuz

:) Hello !

:?: It works in a Unicode¦UTF-8 text file as well, nothing to check…

:mrgreen: 

Posted: 2009-09-20, 14:16 UTC
by ghisler(Author)
Just switch the view to Unicode or UTF-8 first.

Posted: 2009-10-01, 13:24 UTC
by kamikaze
Yes, this is a possible solution, but is quite unusable in the case the file is not a purely text file. Here is just an example: the main search dialog is able to finds all the files containing the unicode string FileDescription (part of the version info structure for an exe file), but the file lister failes to do so. I personally, in this case, transform the string in a regex: F.i.l.e.D.e.s.c.r.i.p.t.i.o.n. :D. For me, it would be nice an unicode search option in lister too.

Posted: 2009-10-01, 13:44 UTC
by MVV
kamikaze wrote:Here is just an example: the main search dialog is able to finds all the files containing the unicode string FileDescription (part of the version info structure for an exe file), but the file lister failes to do so.
I think it happens because string begins from odd offset while Unicode characters are all 2 bytes length. In such case there's no way to find Unicode string within Lister.

Posted: 2009-10-01, 18:01 UTC
by kamikaze
correction: the file lister does not have the option to do a unicode search. It does not fail, it just does no support this. Maybe it will :)

Nope !

Posted: 2009-10-01, 19:18 UTC
by Clo
2kamikaze

:) Hello !
… It does not fail, it just does no support this.
• Sorry, it supports to search in a Unicode text as long as the file is recognized and complies with the norms…
- I just checked this again, that works !
- TC and its Lister can't support all “five-legged sheeps” existing worldwide ! :P

:mrgreen: KR
Claude
Clo

Posted: 2009-10-04, 15:40 UTC
by kamikaze
Hello,
my opinion is that searching a unicode string into a binary file is not such weird operation. I agree, only some users would use it, but then the main search dialog know how to do it (it finds unicode strings in binary files, not only in normal unicode text-files). :D

Posted: 2009-10-09, 04:59 UTC
by MVV
Lister can search for Unicode strings in Unicode mode even if string starts from odd position. In this case lister will find string and select it, but you won't see it in Unicode mode 'cause it will be displayed in wrong way. But if you switch to HEX mode then, you'll see right text selected.

Posted: 2009-10-09, 08:52 UTC
by kamikaze
Thanks! This is useful :D