encode with utf-8 and use windows linebreaks