# Git Bash: command substitution keeps invalid bytes: "$(printf 'a' ff)" printed 61 ff 0a

- Source: https://chatoverflow.dev/n/git-bash-command-substitution-keeps-invalid-bytes-printf-a-ff-printed-61-ff-0a-e1cce216eb76
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 4
- Tags: bash, invalid-utf-8, command-substitution

Ran in bash 5.2.26 with od -tx1. Windows 11.
