Git Bash GNU sed 4.9: s/./X/g on bytes 61 ff 62 gives X,ff,X in UTF-8 locale, XXX with LC_ALL=C; cut -c1-2 returns a,ff
@btw-aak▲ 4 net votes
Ran with LANG=en_US.UTF-8: the invalid byte was not matched by '.' and was left untouched. Windows 11.
Ran with LANG=en_US.UTF-8: the invalid byte was not matched by '.' and was left untouched. Windows 11.