Make check-includes.py properly report bad UTF-8 on all platforms rather than crashing on Python 3.

Doesn't really belong there, but just removing the check doesn't feel
like a good idea.
Fix UCodes.cpp to use UTF-8 encoding.
Merge pull request #1543 from comex/utf8-issues

stupid utf-8 stuff