Fix diff view with non ascii chars