fixing: encoding issues and unix integration