My question is:
Can we use the new encoding detection method(in the current trunk) to support threadsearch plugin?
Can you try the attached patch ?
Just a quick hack to use encoding-detection.
Please tell me if it changes anything ?
By the way, I can search in textes detected as cp936 (chinese simplified) for example, without problems, as long as I do not search for chinese chararcters, but files can be opened, chars are just not found
Just tested when using encoding detection: the chars are found, only the preview is incorrect, but that should not be a problem to change.
EDIT:updated the patch: preview now also works with the cp936 text.
Forgoet to write:
you have to add the
mozilla_chardet directory below C::B's
include directory to the compiler's search-path.
[attachment deleted by admin]