X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/charset/blobdiff_plain/c69732bb978633767f8b11b10976d980b34a73cc..7a7dc0a794235868318c60726f42e175766045e8:/iso2022.c diff --git a/iso2022.c b/iso2022.c index 87317b5..642475c 100644 --- a/iso2022.c +++ b/iso2022.c @@ -144,8 +144,7 @@ static void do_utf8(long int input_chr, ustate.s1 = 0; ustate.s0 = state->s0 & 0x03ffffffL; - utf8 = charset_find_spec(CS_UTF8); - utf8->read(utf8, input_chr, &ustate, emit, emitctx); + read_utf8(NULL, input_chr, &ustate, emit, emitctx); state->s0 = (state->s0 & ~0x03ffffffL) | (ustate.s0 & 0x03ffffffL); }