Fixed part of 'Bug 11661 - Random regular crashing'.
[Ide] Used text encoding detection in find in files.
Fixed 'Bug 11660 - Refactoring service error in non-C# files'.