https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99210
Bug ID: 99210
Summary: X editing for reading file with encoding='utf-8'
Product: gcc
Version: 10.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libfortran
Assignee: unassigned at gcc dot gnu.org
Reporter: leo at sai dot msu.ru
Target Milestone: ---
Created attachment 50237
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50237&action=edit
Example bug 1x editing for utf-8 encoding file
nX edit must skip n characters. For files encoding='utf-8', skip n ISO/IEC
10646 characters.
But now, nX edit is skipping n bytes. And may cause "Fortran runtime error:
Invalid UTF-8 encoding" for valid UTF-8 files.