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

Git, Mac OS X and German special characters

From
AZAlbert Zeyer <albzey@googlemail.com>
Date
Oct 1, 2011, 12:44 UTC
Message-ID
<CAO1Q+jf=RO=sE90-mQdi+=fUWH1RLM+JTubSgSVGC5uDyhU+2A@mail.gmail.com>
Hi,

There are problems on MacOSX with different UTF8 encodings of filenames. A unicode string has multiple ways to be represented as UTF8 and Git treats them as different filenames. This is the actual bug. It should treat them all as the same filename. In some cases (as on MacOSX), the underlying operating system may use a normalized UTF8 representation in some sort, i.e. change the actual UTF8 filename representation.

Similar problems also exists in SVN, for example. This was reported [here](http://subversion.tigris.org/issues/show_bug.cgi?id=2464). There you can find also lengthy discussions about the topic. And also [here](http://svn.apache.org/repos/asf/subversion/trunk/notes/unicode-composition-for-filenames).

This was already reported for Git earlier and there is also a patch for Git [here](http://lists-archives.org/git/719832-git-mac-os-x-and-german-special-characters.html).

I wonder about the state of this. This hasn't been applied yet. Why?

Regards, Albert

Next: Andreas Ericsson
Message 1 of 9 in “Git, Mac OS X and German special characters”
  1. Albert ZeyerOct 1, 2011
  2. Andreas EricssonOct 1, 2011
  3. Torsten BögershausenOct 3, 2011
  4. Andreas EricssonOct 1, 2011
  5. Andreas KreyOct 1, 2011
  6. Michael WittenOct 1, 2011
  7. Jakub NarebskiOct 1, 2011
  8. Michael WittenOct 1, 2011
  9. Albert ZeyerOct 1, 2011

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.