Community
Participate
Working Groups
There is a Bug in the File Search if you have Utf-8 Files with BOM. It finds the correct conntent but marks it with an offset of 1 characters. If you search for "Test" for example he finds it but marks "est ". So if you do a Replace with "test" for example you get "Ttest".
The problem is a bug in the JDK http://developer.java.sun.com/developer/bugParade/bugs/4508058.html We need to add code to work around that.
Created attachment 27342 [details] proposed patch
Should fix for 3.1.1. Dani can you review the patch?
Created attachment 27377 [details] improved patch patch adds better error handling, to make sure that an opened stream is really closed.
Created attachment 27381 [details] Even better patch
Verified that the patch fixes the problem using I20050921-2000.
last patch is ok for me. Released in 3.1.1
I've comitted the patch to HEAD.
fixed in 3.1.1
verified fix is in M20050923-1430