changing ASCII-8BIT to WINDOWS-1252 encoding for writer