{"thread":{"id":"4808","subject":"gitweb/test/Marchen always untracked?","startedAt":"2006-07-08T18:53:22Z","lastAt":"2006-07-08T19:36:07Z","messageCount":3,"participants":["Shawn Pearce","Johannes Schindelin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"23424","messageId":"20060708185322.GA17708@spearce.org","threadId":"4808","inReplyTo":null,"subject":"gitweb/test/Marchen always untracked?","fromName":"Shawn Pearce","fromEmail":"spearce@spearce.org","sentAt":"2006-07-08T18:53:22Z","receivedAt":"2006-07-08T18:53:22Z","isPatch":false,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"I'm not sure what is going on here but on my Mac OS X system\nthe file `gitweb/test/Marchen` is always untracked:\n\n  [spearce@spearce-pb15 git]$ git status\n  # On branch refs/heads/sp/work\n  #\n  # Untracked files:\n  #   (use \"git add\" to add to commit)\n  #\n  #       gitweb/test/MaÌrchen\n  nothing to commit\n  \n  [spearce@spearce-pb15 git]$ git-ls-files | grep chen\n  \"gitweb/test/M\\303\\244rchen\"\n  \n  [spearce@spearce-pb15 git]$ ls -l gitweb/test/Ma\\314\\210rchen \n  -rw-r--r--   1 spearce  spearce  17 Jul  8 14:38 gitweb/test/Ma??rchen\n\nAt first glance it would appear as though the file is encoded into\nthe tree (and thus the index) one way and the OS is reporting it\nanother way during a readdir.  Which is leaving me scratching my\nhead...\n\n-- \nShawn.\n"},{"id":"23426","messageId":"Pine.LNX.4.63.0607082058340.29667@wbgn013.biozentrum.uni-wuerzburg.de","threadId":"4808","inReplyTo":"20060708185322.GA17708@spearce.org","subject":"Re: gitweb/test/Marchen always untracked?","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2006-07-08T19:02:30Z","receivedAt":"2006-07-08T19:02:30Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Sat, 8 Jul 2006, Shawn Pearce wrote:\n\n> I'm not sure what is going on here but on my Mac OS X system\n> the file `gitweb/test/Marchen` is always untracked:\n\nI noticed that problem also. It seems to be yet another encoding problem, \nbecause you see the Latin1 interpretation of a UTF-8 encoded umlaut, ä.\n\nWhat is fascinating:\n\n> git-ls-files --cached|grep chen.$\n\"gitweb/test/M\\303\\244rchen\"\n\nbut\n\n> git-ls-files --others|grep chen.$\n\"gitweb/test/Ma\\314\\210rchen\"\n\nWill investigate,\nDscho\n"},{"id":"23428","messageId":"Pine.LNX.4.63.0607082131450.29667@wbgn013.biozentrum.uni-wuerzburg.de","threadId":"4808","inReplyTo":"Pine.LNX.4.63.0607082058340.29667@wbgn013.biozentrum.uni-wuerzburg.de","subject":"Re: gitweb/test/Marchen always untracked?","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2006-07-08T19:36:07Z","receivedAt":"2006-07-08T19:36:07Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Sat, 8 Jul 2006, Johannes Schindelin wrote:\n\n> On Sat, 8 Jul 2006, Shawn Pearce wrote:\n> \n> > I'm not sure what is going on here but on my Mac OS X system\n> > the file `gitweb/test/Marchen` is always untracked:\n> \n> Will investigate,\n\nAnd so I did. It seems the problem is not reading, but _writing_.\n\n> touch $(echo -e 'M\\xc3\\xa4rchen')\n> ls *en|hexdump -C\n00000000  4d 61 cc 88 72 63 68 65  6e 0a                    |Ma..rchen.|\n0000000a\n\nSo, instead of writing \"4d c3 a4 72 63 68 65 6e\" it actually writes \"4d 61 \ncc 88 72 63 68 65 6e\". It might be possible that this is some \n\"intelligent\" encoding mapping, but ...\n\n> echo $LC_ALL\nde-DE.utf-8\n\n... so I think Mac OS X is wrong.\n\nCiao,\nDscho\n"}]}