CharsetConverter::ToUtf8: add ability to fail on bad character