Find File containing text should find Unicode text too
Find File containing text should find Unicode text too
Find File containing text currently finds only "one byte per character" texts. If a document file contains the text encoded in two bytes per charachter (UTF-16) then it isn't found. An example are XLS files written by PlanMaker of FreeOffice 2016. Finding UTF-8 texts would be nice too of course.
- John Doe
- Бюрократ
- Posts: 13867
- Joined: Wed 27 Apr, 2005 20:42
- Has thanked: 74 times
- Been thanked: 428 times
- Contact:
Find File containing text should find Unicode text too
Choose "Selected code pages" in combobox
- Attachments
-
- 2016-11-18_123648.png (6.71 KiB) Viewed 8031 times
- John Doe
- Бюрократ
- Posts: 13867
- Joined: Wed 27 Apr, 2005 20:42
- Has thanked: 74 times
- Been thanked: 428 times
- Contact:
Find File containing text should find Unicode text too
Automatic detection: doesn't work for my sample xls
All standard codepages: there is no such choice in this combobox just found
All standard codepages: there is no such choice in this combobox just found
Last edited by John Doe on Fri 18 Nov, 2016 12:42, edited 1 time in total.
Find File containing text should find Unicode text too
Thanks, I never took notice of the codepage combobox...
With the right choice here it finds UTF-16 text in UTF-16 files. But it fails in binary files if the searched text doesn't start at an even address in the file.
Here is a test XLS file: http://www.file-upload.net/download-121 ... h.xls.html
asdfg is found (starts at 93C) but qwert isn't (starts at 92F).
With the right choice here it finds UTF-16 text in UTF-16 files. But it fails in binary files if the searched text doesn't start at an even address in the file.
Here is a test XLS file: http://www.file-upload.net/download-121 ... h.xls.html
asdfg is found (starts at 93C) but qwert isn't (starts at 92F).