The files i'm using are saved in ISO-8859-1. I'll try - WHOA!!! YOU DID IT!!! Thanks a lot, jens! I saved the file as UTF-8 and the search was performed correctly!
So the search only fails if the files are saved as ISO-8859-1 (or maybe just not UTF-8).
Also, I just found out something very interesting.
The 18 March 2008 build (4966) is out.
* pumped wxScintilla to v1.71.1 (latest version available) which includes Scintilla v1.62
And in the Scintilla history (
http://scintilla.sourceforge.net/ScintillaHistory.html ) :
Release 1.63
* Searching bugs fixed.
It's interesting to notice that Scintilla is currently on version 1.76!!! :shock:
Perhaps that's the problem. We're using an outdated and buggy scintilla build
Anyway, I'm not even sure if this happens all the time, but I'm able to replicate the success (non-bug) if i save as UTF-8. If i save to ISO-8859-1, close CB and reopen, the string in question isn't found. (Perhaps this is why the bug doesn't appear in Windows - i.e. UTF-8/unicode issues?)
I'm thinking that when opening files normally in CB, some encoding conversion is performed, and that isn't the case when finding in files. Can anyone confirm is this is the case?
Just to confirm, jens... in C::B, in editor, change the default encoding to ISO-8859-1. Edit a file, save, close, close CB, reopen it, and search for a string using find-in-files. Is the string found in the new file?