Fixed character encoding. Both in code and test-files.