Fixed character encoding problem on Windows