[GRASS-git] [OSGeo/grass] 14e4e2: style: Strip stray control characters instead of e...

Edouard Choinière noreply at github.com
Sat Sep 5 12:52:06 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 14e4e27b7b0a44643e5eb490fdc209b7d3cadb9a
      https://github.com/OSGeo/grass/commit/14e4e27b7b0a44643e5eb490fdc209b7d3cadb9a
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2026-09-05 (Sat, 05 Sep 2026)

  Changed paths:
    M .editorconfig
    M lib/external/ccmath/C01-matrix
    M raster/r.drain/README
    M scripts/r.drain/README

  Log Message:
  -----------
  style: Strip stray control characters instead of excluding files (#7891)

The editorconfig-checker bump to v3.11.3 (#7459) added a pre-decode
binary-detection check that flags a file as binary, and thus failing the
utf-8 charset check, if it contains any C0 control byte. Four files were
marked charset = unset as a workaround. Per the discussion in #7888,
three of them hold no meaning in those bytes and are better cleaned up:

- raster/r.drain/README and scripts/r.drain/README contain a stray CAN
  (0x18) inside "that differ a little from r.drain".
- lib/external/ccmath/C01-matrix contains a DC3/SYN pair acting as a
  subscript toggle around "U1"; the same matrix is spelled U1 plainly
  everywhere else in that file.

Only configure still needs the exception: its BEL byte is a legitimate
awk field separator in autoconf-generated code.

Closes #7888



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list