Fix unicode issues

Hi there. I think there might be too many issues in this pull request sorry. I'd solved an earlier issue (compass subdirectory) too so that might confuse things. Apologies.