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

Re: OS X and umlauts in file names

From
TSThomas Singer <thomas.singer@syntevo.com>
Date
Nov 27, 2009, 18:35 UTC
Message-ID
<4B101C06.1030300@syntevo.com>
In-Reply-To
<46a038f90911270256w57487e6cq9bda8b98a5384799@mail.gmail.com>
Martin Langhoff wrote:
> have you tried calling git-update-index --add
> --stdin -z? Your original email stated
No, we don't do such a massive change immediately before a release.
>> we've got a problem report regarding our SmartGit GUI client
> 
> so it sounds like you are building a porcelain. In that case, the
> sanest approach is to invoke git-update-index and write to its stdin.
We will try this out after release.

For those who are interested: I've got it working on OS X and Git was not the problem, but Java. A longer time ago directory.list() or directory.listFiles() returned the file names with decomposed characters (as they are stored on OS X hard disk). Now (don't know which Java update introduced this change) these methods return file names with composed characters, so I had to decompose them before handing them to the git executable call.

Nevertheless, the cross-platform-problem remains: if you add files with umlauts in their names on non-OS X, you will not be able to use them on OS X.

-- 
Tom
Previous: Martin LanghoffNext: Jay Soffian
Message 19 of 20 in “OS X and umlauts in file names”
  1. Thomas SingerNov 23, 2009
  2. Thomas RastNov 23, 2009
  3. Thomas SingerNov 23, 2009
  4. Johannes SchindelinNov 23, 2009
  5. Thomas SingerNov 23, 2009
  6. Jakub NarebskiNov 23, 2009
  7. Martin LanghoffNov 23, 2009
  8. Daniel BarkalowNov 23, 2009
  9. Thomas SingerNov 25, 2009
  10. B Smith-MannschottNov 25, 2009
  11. Martin LanghoffNov 25, 2009
  12. Martin LanghoffNov 25, 2009
  13. Andreas SchwabNov 25, 2009
  14. Thomas SingerNov 26, 2009
  15. Jay SoffianNov 26, 2009
  16. Thomas SingerNov 27, 2009
  17. Thomas SingerNov 27, 2009
  18. Martin LanghoffNov 27, 2009
  19. Thomas SingerNov 27, 2009
  20. Jay SoffianNov 26, 2009

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.