I'm using SVN in order to commit changes in windows and linux, but when I w开发者_如何学编程ant to commit changes in some cases a BOM characters is added/ remove from files. I want that the diff of SVN will ignore this changes with BOM and will show me only the files I have changed. Do you know a diff command that will ignore BOM characters?
thanks.
You should rather configure your editors not to emit a BOM character. If you're using a proper encoding (UTF-8), it's neither needed nor useful.
Well, you didn't mention what platform you are on, but if you are on Windows, Beyond Compare has pretty good handling of BOM and can be integrated with SVN.
精彩评论