public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/99210] New: X editing for reading file with encoding='utf-8'
@ 2021-02-22 22:40 leo at sai dot msu.ru
  2021-02-22 22:44 ` [Bug libfortran/99210] " leo at sai dot msu.ru
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: leo at sai dot msu.ru @ 2021-02-22 22:40 UTC (permalink / raw)
  To: gcc-bugs

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.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-02-14 20:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-22 22:40 [Bug libfortran/99210] New: X editing for reading file with encoding='utf-8' leo at sai dot msu.ru
2021-02-22 22:44 ` [Bug libfortran/99210] " leo at sai dot msu.ru
2021-02-23  1:34 ` jvdelisle at gcc dot gnu.org
2021-02-28  3:25 ` jvdelisle at gcc dot gnu.org
2021-04-17  3:26 ` jvdelisle at gcc dot gnu.org
2021-05-04  2:29 ` jvdelisle at gcc dot gnu.org
2024-02-13  5:00 ` jvdelisle at gcc dot gnu.org
2024-02-13 20:07 ` jvdelisle at gcc dot gnu.org
2024-02-13 22:56 ` jvdelisle at gcc dot gnu.org
2024-02-14 15:58 ` cvs-commit at gcc dot gnu.org
2024-02-14 20:00 ` jvdelisle at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).