Skip to content
Snippets Groups Projects
Unverified Commit 8bc356a7 authored by Michael Droettboom's avatar Michael Droettboom Committed by GitHub
Browse files

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.
parent 3e26de3c
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment