bug-indent
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

indent mangles UTF-8


From: Adam Wozniak
Subject: indent mangles UTF-8
Date: Fri, 24 Mar 2023 11:01:04 -0700

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 ə14(double GST, struct φλ φλ) {
-   double LST = GST + φλ.λ / 15.0;
+double ə14(double GST, struct φλφλ) {
+   double LST = GST + φλ. <CE> <BB>/15.0;

$ indent --version
GNU indent 2.2.12

--Adam


reply via email to

[Prev in Thread] Current Thread [Next in Thread]