indent mangles UTF-8

Adam Wozniak <[email protected]> Fri, 24 Mar 2023 11:01:04 -0700
Newsgroups gmane.comp.gnu.indent.bugs
Message-ID <CA+JkkaAydvEp1r9rkPr=zQtr9HBDeO-pvf3KGSTD5iX8ZTk5Yw@mail.gmail.com>
Using "indent" on a C file with structure members with UTF-8 names (as
allowed under C99 and later).

indent completely mangles these member names, inserting spaces between UTF8
bytes.

-double =C9=9914(double GST, struct =CF=86=CE=BB =CF=86=CE=BB) {
-   double LST =3D GST + =CF=86=CE=BB.=CE=BB / 15.0;
+double =C9=9914(double GST, struct =CF=86=CE=BB=CF=86=CE=BB) {
+   double LST =3D GST + =CF=86=CE=BB. <CE> <BB>/15.0;

$ indent --version
GNU indent 2.2.12

--Adam