fix windows encoding issues