Added utf8 and encoded file content checks

Closes #5

My editor auto stripped some extraneous whitespace, I can re-do if that's a problem.

Thanks