switch default encoding to UTF-8 to fix a few test failures