scm: fix invalid UTF-8 tests fail on Windows Ruby 1.8.
Authored by: tmaruyama 2011-05-05
Parent: [r5647]
Child: [r5649]