Force encoding to be UTF-8.
Remove deprecated test.