diff --git a/src/iri.c b/src/iri.c index 1792ab62..dfcb0578 100644 --- a/src/iri.c +++ b/src/iri.c @@ -185,6 +185,10 @@ do_conversion (iconv_t cd, char *in, size_t inlen, char **out) /* Incomplete or invalid multibyte sequence */ if (errno == EINVAL || errno == EILSEQ) { + if (!invalid) + logprintf (LOG_VERBOSE, + "Incomplete or invalide multibyte sequence encountered\n"); + invalid++; **out = *in; in++;