Re: [Question] Is it normal for accented characters to be shown as decomposed Unicode on GNU/Linux?
- From
Charles Bailey <charles@hashpling.org>
- Date
- Jun 22, 2015, 15:04 UTC
- Message-ID
- <20150622150428.GA14100@hashpling.org>
- In-Reply-To
- <55880AF4.4000206@traverse.email>
On Mon, Jun 22, 2015 at 03:17:40PM +0200, Bastien Traverse wrote:
Show 14 quoted lines
> test case: > $ mkdir accent-test && cd !$ > $ git init > $ touch rêve réunion > $ git status > On branch master > > Initial commit > > Untracked files: > (use "git add <file>..." to include in what will be committed) > > "r\303\251union" > "r\303\252ve"
Note that these aren't "decomposed" (in the unicode decomposition sense) but are merely octal escaped representations of the utf-8 encoded file names.
My understanding that this is normal and probably dates back (at least for status as far as:
commit a734d0b10bd0f5554abb3acdf11426040cfc4df0 Author: Dmitry Potapov <dpotapov@gmail.com> Date: Fri Mar 7 05:30:58 2008 +0300
Make private quote_path() in wt-status.c available as quote_path_relative()
[...]
The behaviour can be changed by setting the git config variable "core.quotePath" to false.