Fix encoding for windows.