Test error reporting in UTF16ToUTF8.