Page 1 of 1
[Lister] RegEx also in Unicode/UTF-8 display modes
Posted: 2009-08-25, 19:23 UTC
by amachado
It would be great if Regular Expressions could be enabled also for Unicode / UTF-8 display modes...
Thanks
Posted: 2009-08-26, 15:37 UTC
by ghisler(Author)
It could be done for Unicode UTF16, I'm already using a Unicode library for file names now. But for UTF-8 I don't know how to handle it, sorry.
Posted: 2009-08-26, 17:42 UTC
by amachado
Could this (utf8-chartable.de) be useful?
Posted: 2009-08-27, 12:49 UTC
by ghisler(Author)
The problem is that UTF-8 characters consist of multiple bytes. Therefore all the regex functions would need to be changed to handle that special case. This is especially difficult for things like ranges like [a-z] when dealing with non-English characters.
Is this possible now?
Posted: 2016-03-04, 20:40 UTC
by amach
It has been a long time since last reply; did something change in the meantime, so it could be possible now? At least for UTF-16 files...
Posted: 2016-03-05, 13:44 UTC
by MVV
ghisler,
Isn't it easier to convert UTF-8 to UTF-16 before displaying in Lister? So UTF-16 regex engine may be used for searching.
Posted: 2016-03-07, 10:42 UTC
by ghisler(Author)
Yes, TC9 will do exactly that. It was added almost a year ago, on 22.03.15. Due to unresolved issues (no icon designer, problems with colors by folder) the release date of TC9 is still unknown, sorry.