It would be great if Regular Expressions could be enabled also for Unicode / UTF-8 display modes...
Thanks
[Lister] RegEx also in Unicode/UTF-8 display modes
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50873
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50873
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Is this possible now?
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...
If you confess with your mouth Jesus as Lord, and believe in your heart that God raised Him from the dead, you will be saved. (Romans 10.9)
- ghisler(Author)
- Site Admin
- Posts: 50873
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com