The test above should not change, may be we should test the unicode as well, but the latin1 test should remain untouched. I think that there is a way to tell travis to use the proper encoding and locale.