diff --git a/xconv.c b/xconv.c index 12f137a..34b828d 100644 --- a/xconv.c +++ b/xconv.c @@ -78,7 +78,7 @@ xconv(char *src, char *dst, size_t dstlen) continue; } - if (is_utf_sequence(s)) + if (!changed && is_utf_sequence(s)) return 0; changed = 1;