Better error messages when UTF8 conversion fails

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
spell-and-gram-proxy-certs

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>