Re: [BUG REPORT] File names that contain UTF8 characters are unnecessarily escaped in 'git status .' messages
- From
- Yuri <yuri@rawbw.com>
- Date
- May 27, 2021, 20:50 UTC
- Message-ID
- <4dd22f16-72f0-a28a-8be0-aec622acf0d3@rawbw.com>
- In-Reply-To
- <YK+mWZP+sl3zXECx@coredump.intra.peff.net>
It's not clear from the conversation if git reads terminal capabilities at all.
But the default behavior, without any options set, should be to read terminal capabilities, and write non-ASCII characters verbatim when terminal supports this and escape them when terminal doesn't support them.
Current default behavior appears to be to always escape non-ASCII characters.
Then options can change this basic behavior according to user's choice.
Yuri