Fixing encoding for a test on Windows