Encoding is correct. Seems to be a view problem on github. 
The file itself is shown correctly, as you can see here: https://github.com/Dappsen/politaktiv-map-portlet/blob/master/docroot/edit.jsp