fix enconding problem on Windows OS