Feature/convert from utf8

I have added windows newlines support and utf-8 encoding.