git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.

Previous: Bastien TraverseNext: Bastien Traverse
Message 2 of 3 in “[Question] Is it normal for accented characters to be shown as decomposed Unicode on GNU/Linux?”
  1. Bastien TraverseJun 22, 2015
  2. Charles BaileyJun 22, 2015
  3. Bastien TraverseJun 22, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.