Fixed some unicode encoding mixups.

Easiest way to fix this was to hardcode UTF-8 as the encoding. As no other encoding should ever be used, there's no reason to have a run-around and the bugs that come with it.

Fixes #474