change character encoding to utf8. this should fix #320