SIGN IN SIGN UP

gh-96268: Fix loading invalid UTF-8 (#96270)

This makes tokenizer.c:valid_utf8 match stringlib/codecs.h:decode_utf8.

It also fixes an off-by-one error introduced in 3.10 for the line number when the tokenizer reports bad UTF8.
M
Michael Droettboom committed
8bc356a7dd50cbdb46d10b8c7e457832431f5d9e
Parent: 3e26de3
Committed by GitHub <noreply@github.com> on 9/7/2022, 9:23:54 PM