scm: prevent diff shows trace if UTF-8 is invalid in Ruby 1.9.
Authored by: tmaruyama 2011-02-21
Parent: [r4911]
Child: [r4913]