{"thread":{"id":"27921","subject":"ls-tree with non-english characters","startedAt":"2011-07-26T09:38:59Z","lastAt":"2011-07-26T11:39:16Z","messageCount":5,"participants":["Tajti Ákos","SZEDER Gábor","Alexey Shumkin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"172043","messageId":"4E2E8B33.6070900@intland.com","threadId":"27921","inReplyTo":null,"subject":"ls-tree with non-english characters","fromName":"Tajti Ákos","fromEmail":"akos.tajti@intland.com","sentAt":"2011-07-26T09:38:59Z","receivedAt":"2011-07-26T09:38:59Z","isPatch":false,"sender":{"key":"akos.tajti@intland.com","avatar":null},"body":"Dear List,\n\nI tried to use git ls-tree but on blob names containing non-english\ncharacters I get a strange output. For example:\n\nákosű -> \\303\\241kos\\305\\261\n\nThere's no mention of this format in the manual of ls-tree. Could you please\nhelp me on resolving this cryptic string to the original form?\n\nThanks in advance,\nÁkos Tajti\n"},{"id":"172048","messageId":"20110726103927.GA31625@goldbirke","threadId":"27921","inReplyTo":"4E2E8B33.6070900@intland.com","subject":"Re: ls-tree with non-english characters","fromName":"SZEDER Gábor","fromEmail":"szeder@ira.uka.de","sentAt":"2011-07-26T10:39:27Z","receivedAt":"2011-07-26T10:39:27Z","isPatch":false,"sender":{"key":"szeder.dev@gmail.com","avatar":"https://avatars.githubusercontent.com/u/116324?v=4"},"body":"Szervusz Ákos,\n\n\nOn Tue, Jul 26, 2011 at 11:38:59AM +0200, Tajti Ákos wrote:\n> I tried to use git ls-tree but on blob names containing non-english\n> characters I get a strange output. For example:\n> \n> ákosű -> \\303\\241kos\\305\\261\n> \n> There's no mention of this format in the manual of ls-tree. Could you please\n> help me on resolving this cryptic string to the original form?\n\nTry with the -z option, it seems to do more than the documentation\nsuggests:\n\n  $ git ls-tree HEAD\n100644 blob e69de29bb2d1d6434b8b29ae775ad8c2e48c5391\t\"\\303\\241rv\\303\\255zt\\305\\261r\\305\\221\"\n  $ git ls-tree -z HEAD\n100644 blob e69de29bb2d1d6434b8b29ae775ad8c2e48c5391\tárvíztűrő\n\n\nGábor\n"},{"id":"172050","messageId":"4E2EA54E.9030204@intland.com","threadId":"27921","inReplyTo":"20110726103927.GA31625@goldbirke","subject":"Re: ls-tree with non-english characters","fromName":"Tajti Ákos","fromEmail":"akos.tajti@intland.com","sentAt":"2011-07-26T11:30:22Z","receivedAt":"2011-07-26T11:30:22Z","isPatch":false,"sender":{"key":"akos.tajti@intland.com","avatar":null},"body":"Thanks, Gábor, you helped a lot!\n\nRegards,\nÁkos\n\n2011.07.26. 12:39 keltezéssel, SZEDER Gábor írta:\n> Szervusz Ákos,\n>\n>\n> On Tue, Jul 26, 2011 at 11:38:59AM +0200, Tajti Ákos wrote:\n>> I tried to use git ls-tree but on blob names containing non-english\n>> characters I get a strange output. For example:\n>>\n>> ákosű ->  \\303\\241kos\\305\\261\n>>\n>> There's no mention of this format in the manual of ls-tree. Could you please\n>> help me on resolving this cryptic string to the original form?\n> Try with the -z option, it seems to do more than the documentation\n> suggests:\n>\n>    $ git ls-tree HEAD\n> 100644 blob e69de29bb2d1d6434b8b29ae775ad8c2e48c5391\t\"\\303\\241rv\\303\\255zt\\305\\261r\\305\\221\"\n>    $ git ls-tree -z HEAD\n> 100644 blob e69de29bb2d1d6434b8b29ae775ad8c2e48c5391\tárvíztűrő\n>\n>\n> Gábor\n>\n"},{"id":"172051","messageId":"loom.20110726T133202-838@post.gmane.org","threadId":"27921","inReplyTo":"4E2E8B33.6070900@intland.com","subject":"Re: ls-tree with non-english characters","fromName":"Alexey Shumkin","fromEmail":"zapped@mail.ru","sentAt":"2011-07-26T11:33:00Z","receivedAt":"2011-07-26T11:33:00Z","isPatch":false,"sender":{"key":"alex.crezoff@gmail.com","avatar":"https://avatars.githubusercontent.com/u/1183752?v=4"},"body":"Tajti Ákos <akos.tajti <at> intland.com> writes:\n\n> \n> Dear List,\n> \n> I tried to use git ls-tree but on blob names containing non-english\n> characters I get a strange output. For example:\n> \n> ákosű -> \\303\\241kos\\305\\261\n> \n> There's no mention of this format in the manual of ls-tree. Could you please\n> help me on resolving this cryptic string to the original form?\n> \n> Thanks in advance,\n> Ákos Tajti\n> \n\nRussian Windows git users know this feature\n\ngit config [--global] core.quotepath false\nresolves it (without -z)\n\nand, yes, man git-config\n"},{"id":"172052","messageId":"4E2EA764.60304@intland.com","threadId":"27921","inReplyTo":"20110726151739.51be3f55@ashu.dyn.rarus.ru","subject":"Re: ls-tree with non-english characters","fromName":"Tajti Ákos","fromEmail":"akos.tajti@intland.com","sentAt":"2011-07-26T11:39:16Z","receivedAt":"2011-07-26T11:39:16Z","isPatch":false,"sender":{"key":"akos.tajti@intland.com","avatar":null},"body":"Dear Alaxey,\n\nthanks, I didn't know about this configuration option.\n\nRegards,\nÁkos Tajti\n\n2011.07.26. 13:17 keltezéssel, Alexey Shumkin írta:\n> В Tue, 26 Jul 2011 11:38:59 +0200\n> Tajti Ákos<akos.tajti@intland.com>  пишет:\n>\n>> Dear List,\n>>\n>> I tried to use git ls-tree but on blob names containing non-english\n>> characters I get a strange output. For example:\n>>\n>> ákosű ->  \\303\\241kos\\305\\261\n>>\n>> There's no mention of this format in the manual of ls-tree. Could you\n>> please help me on resolving this cryptic string to the original form?\n>>\n>> Thanks in advance,\n>> Ákos Tajti\n> Russian Windows git users know this feature\n>\n> git config [--global] core.quotepath false\n> resolves it\n>\n> and, yes, man git-config\n"}]}