Decoding all input to UTF-8

plus a missed `return 0`. wherps.