Assume UTF-8 if no valid encoding known (via #1021)

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
Merge pull request #1026 from getnikola/assume-utf8

Assume UTF-8 if no valid encoding known (via #1021)