diff --git a/source/utf8/checked.h b/source/utf8/checked.h index 2aef583..a062f85 100644 --- a/source/utf8/checked.h +++ b/source/utf8/checked.h @@ -107,7 +107,9 @@ namespace utf8 *out++ = *it; break; case internal::NOT_ENOUGH_ROOM: - throw not_enough_room(); + out = utf8::append (replacement, out); + start = end; + break; case internal::INVALID_LEAD: out = utf8::append (replacement, out); ++start;