On Thu, May 27, 2021 at 09:45:53PM -0700, Yuri wrote: > On 5/27/21 9:39 PM, Bagas Sanjaya wrote: > > So the current default is only supports ASCII, and escape other > > characters, right? > > > It appears this way. > Yes, that is how it is. After reading the wiki here: https://wiki.gentoo.org/wiki/UTF-8 (There are many other web pages as well) I am not sure that there is a reliable way for Git to detect, if the terminal is capable of handling UTF-8. This should work reliable under Linux, Windows, Mac and all the supported Unix-ish platforms. Beside that, the outputs of git commands can be feed into other programs via a pipe usning "|" on the command line or redirectet to a file. And what is a terminal ? We need to consider that we run programs like `less` or `more´ which need to be UTF-8 compatble. Most of them are probably UTF-8 compliant (and LANG is set to xx.UTF-8) these days. And most repositories have been feed with filenames encoded in UTF-8 as well. Having said that, the default could be switched some day in the future. Before that is "save", there may be a transition phase, where users are warned that the default may change. Scripts calling git need to use `git -c core.quotepath=yes`, or no, whatever input they expect. Sorry for the longish answer. Changing one thing for some users may effect hundrets, thousands or millions of other users later, cause surprises, need debugging and fixing effort. Does someone wants to come up with a patch that anounces a possible change ?