{"thread":{"id":"28286","subject":"Special characters in file name","startedAt":"2011-09-02T12:06:40Z","lastAt":"2011-09-05T13:33:52Z","messageCount":9,"participants":["Tajti Ákos","Alexey Shumkin","Jonathan Nieder","Jakub Narebski","Johannes Sixt"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"174742","messageId":"4E60C6D0.7090609@intland.com","threadId":"28286","inReplyTo":null,"subject":"Special characters in file name","fromName":"Tajti Ákos","fromEmail":"akos.tajti@intland.com","sentAt":"2011-09-02T12:06:40Z","receivedAt":"2011-09-02T12:06:40Z","isPatch":false,"sender":{"key":"akos.tajti@intland.com","avatar":null},"body":"Dear List,\n\nI have a file named \"árvíz.txt\" in my repository. When modify that file \nand execute git diff, the first line looks like this:\ndiff --git \"a/\\303\\241rv\\303\\255z.txt\" \"b/\\303\\241rv\\303\\255z.txt\"\n\nIs there an option that (if specified) will get git to print \"árvíz.txt\" \ninstead of this escaped string?\n\nThanks in advance,\nÁkos Tajti\n"},{"id":"174743","messageId":"loom.20110902T143646-347@post.gmane.org","threadId":"28286","inReplyTo":"4E60C6D0.7090609@intland.com","subject":"Re: Special characters in file name","fromName":"Alexey Shumkin","fromEmail":"zapped@mail.ru","sentAt":"2011-09-02T12:38:09Z","receivedAt":"2011-09-02T12:38:09Z","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 have a file named \"árvíz.txt\" in my repository. When modify that file \n> and execute git diff, the first line looks like this:\n> diff --git \"a/\\303\\241rv\\303\\255z.txt\" \"b/\\303\\241rv\\303\\255z.txt\"\n> \n> Is there an option that (if specified) will get git to print \"árvíz.txt\" \n> instead of this escaped string?\n> \n> Thanks in advance,\n> Ákos Tajti\n> \n\nplease, refresh your memory )))\nhttp://comments.gmane.org/gmane.comp.version-control.git/177849\n\nsee my comment\nhttp://permalink.gmane.org/gmane.comp.version-control.git/177857\n"},{"id":"174787","messageId":"20110903144617.GA17893@elie","threadId":"28286","inReplyTo":"loom.20110902T143646-347@post.gmane.org","subject":"Re: Special characters in file name","fromName":"Jonathan Nieder","fromEmail":"jrnieder@gmail.com","sentAt":"2011-09-03T14:46:17Z","receivedAt":"2011-09-03T14:46:17Z","isPatch":false,"sender":{"key":"jrnieder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/281595?v=4"},"body":"Hi Alexey,\n\nAlexey Shumkin wrote:\n> Tajti Ákos writes:\n\n>> I have a file named \"árvíz.txt\" in my repository. When modify that file \n>> and execute git diff, the first line looks like this:\n>> diff --git \"a/\\303\\241rv\\303\\255z.txt\" \"b/\\303\\241rv\\303\\255z.txt\"\n>>\n>> Is there an option that (if specified) will get git to print \"árvíz.txt\" \n>> instead of this escaped string?\n[...]\n> please, refresh your memory )))\n> http://comments.gmane.org/gmane.comp.version-control.git/177849\n>\n> see my comment\n> http://permalink.gmane.org/gmane.comp.version-control.git/177857\n\nCc-ing Ákos so he can actually get your message this time. :)  (FWIW\nthe convention on this list is always to reply-to-all.)\n\nThanks,\nJonathan\n"},{"id":"174795","messageId":"m3aaal4cyj.fsf@localhost.localdomain","threadId":"28286","inReplyTo":"4E60C6D0.7090609@intland.com","subject":"Re: Special characters in file name","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2011-09-03T19:57:07Z","receivedAt":"2011-09-03T19:57:07Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Tajti Ákos <akos.tajti@intland.com> writes:\n\n> I have a file named \"árvíz.txt\" in my repository. When modify that\n> file and execute git diff, the first line looks like this:\n> diff --git \"a/\\303\\241rv\\303\\255z.txt\" \"b/\\303\\241rv\\303\\255z.txt\"\n> \n> Is there an option that (if specified) will get git to print\n> \"árvíz.txt\" instead of this escaped string?\n\nYes, there is, namely `core.quotepath`.\n\nThis probably should make it into FAQ on Git Wiki, and into git-diff\nmanpage...\n-- \nJakub Narębski\n"},{"id":"174796","messageId":"20110904000933.195d5bf4@zappedws","threadId":"28286","inReplyTo":"20110903144617.GA17893@elie","subject":"Re: Special characters in file name","fromName":"Alexey Shumkin","fromEmail":"zapped@mail.ru","sentAt":"2011-09-03T20:09:33Z","receivedAt":"2011-09-03T20:09:33Z","isPatch":false,"sender":{"key":"alex.crezoff@gmail.com","avatar":"https://avatars.githubusercontent.com/u/1183752?v=4"},"body":"> Hi Alexey,\n> \n> Alexey Shumkin wrote:\n> > Tajti Ákos writes:\n> \n> >> I have a file named \"árvíz.txt\" in my repository. When modify that\n> >> file and execute git diff, the first line looks like this:\n> >> diff --git \"a/\\303\\241rv\\303\\255z.txt\" \"b/\\303\\241rv\\303\\255z.txt\"\n> >>\n> >> Is there an option that (if specified) will get git to print\n> >> \"árvíz.txt\" instead of this escaped string?\n> [...]\n> > please, refresh your memory )))\n> > http://comments.gmane.org/gmane.comp.version-control.git/177849\n> >\n> > see my comment\n> > http://permalink.gmane.org/gmane.comp.version-control.git/177857\n> \n> Cc-ing Ákos so he can actually get your message this time. :)  (FWIW\n> the convention on this list is always to reply-to-all.)\nYes, I know, but I replied with the gmane.org site form, and it did not\nCC-ed\n"},{"id":"174866","messageId":"4E64BD3D.6060900@intland.com","threadId":"28286","inReplyTo":"20110904000933.195d5bf4@zappedws","subject":"Re: Special characters in file name","fromName":"Tajti Ákos","fromEmail":"akos.tajti@intland.com","sentAt":"2011-09-05T12:14:53Z","receivedAt":"2011-09-05T12:14:53Z","isPatch":false,"sender":{"key":"akos.tajti@intland.com","avatar":null},"body":"Thanks four your answer. However, it didn't help. After setting the \ncore.quotepath option to false I get this:\n\ndiff --git a/<E1>rv<ED>zt<FB>r<F5> b/<E1>rv<ED>zt<FB>r<F5>\n\nIs there a solution?\n\nThanks,\nÁkos Tajti\n\n2011.09.03. 22:09 keltezéssel, Alexey Shumkin írta:\n>> Hi Alexey,\n>>\n>> Alexey Shumkin wrote:\n>>> Tajti Ákos writes:\n>>>> I have a file named \"árvíz.txt\" in my repository. When modify that\n>>>> file and execute git diff, the first line looks like this:\n>>>> diff --git \"a/\\303\\241rv\\303\\255z.txt\" \"b/\\303\\241rv\\303\\255z.txt\"\n>>>>\n>>>> Is there an option that (if specified) will get git to print\n>>>> \"árvíz.txt\" instead of this escaped string?\n>> [...]\n>>> please, refresh your memory )))\n>>> http://comments.gmane.org/gmane.comp.version-control.git/177849\n>>>\n>>> see my comment\n>>> http://permalink.gmane.org/gmane.comp.version-control.git/177857\n>> Cc-ing Ákos so he can actually get your message this time. :)  (FWIW\n>> the convention on this list is always to reply-to-all.)\n> Yes, I know, but I replied with the gmane.org site form, and it did not\n> CC-ed\n"},{"id":"174867","messageId":"4E64CAD8.5040908@intland.com","threadId":"28286","inReplyTo":"20110905170237.3ed59c6a@ashu.dyn.rarus.ru","subject":"Re: Special characters in file name","fromName":"Tajti Ákos","fromEmail":"akos.tajti@intland.com","sentAt":"2011-09-05T13:12:56Z","receivedAt":"2011-09-05T13:12:56Z","isPatch":false,"sender":{"key":"akos.tajti@intland.com","avatar":null},"body":"Both the terminal encoding and the filename encoding are UTF-8.\n\nÁkos\n\n2011.09.05. 15:02 keltezéssel, Шумкин Алексей írta:\n>> Thanks four your answer. However, it didn't help. After setting the\n>> core.quotepath option to false I get this:\n>>\n>> diff --git a/<E1>rv<ED>zt<FB>r<F5>  b/<E1>rv<ED>zt<FB>r<F5>\n>>\n>> Is there a solution?\n> What terminal encoding do you use? and what is its encoding?\n> It seems to me terminal encoding is UTF-8 but filename encoding is not\n> the same.\n> I get the same behaviour on Linux UTF-8 terminal for the project\n> created on Windows with filenames in cp1251-encoding.\n>\n>> Thanks,\n>> Ákos Tajti\n>>\n>> 2011.09.03. 22:09 keltezéssel, Alexey Shumkin írta:\n>>>> Hi Alexey,\n>>>>\n>>>> Alexey Shumkin wrote:\n>>>>> Tajti Ákos writes:\n>>>>>> I have a file named \"árvíz.txt\" in my repository. When modify\n>>>>>> that file and execute git diff, the first line looks like this:\n>>>>>> diff --git \"a/\\303\\241rv\\303\\255z.txt\"\n>>>>>> \"b/\\303\\241rv\\303\\255z.txt\"\n>>>>>>\n>>>>>> Is there an option that (if specified) will get git to print\n>>>>>> \"árvíz.txt\" instead of this escaped string?\n>>>> [...]\n>>>>> please, refresh your memory )))\n>>>>> http://comments.gmane.org/gmane.comp.version-control.git/177849\n>>>>>\n>>>>> see my comment\n>>>>> http://permalink.gmane.org/gmane.comp.version-control.git/177857\n>>>> Cc-ing Ákos so he can actually get your message this time. :)\n>>>> (FWIW the convention on this list is always to reply-to-all.)\n>>> Yes, I know, but I replied with the gmane.org site form, and it did\n>>> not CC-ed\n"},{"id":"174868","messageId":"4E64CBB0.7020902@viscovery.net","threadId":"28286","inReplyTo":"4E64BD3D.6060900@intland.com","subject":"Re: Special characters in file name","fromName":"Johannes Sixt","fromEmail":"j.sixt@viscovery.net","sentAt":"2011-09-05T13:16:32Z","receivedAt":"2011-09-05T13:16:32Z","isPatch":false,"sender":{"key":"j6t@kdbg.org","avatar":"https://avatars.githubusercontent.com/u/14810926?v=4"},"body":"Am 9/5/2011 14:14, schrieb Tajti Ákos:\n> Thanks four your answer. However, it didn't help. After setting the\n> core.quotepath option to false I get this:\n> \n> diff --git a/<E1>rv<ED>zt<FB>r<F5> b/<E1>rv<ED>zt<FB>r<F5>\n> \n> Is there a solution?\n\nThis is because the output goes through the pager (less), which treats\nnon-ASCII characters.\n\nTweak your settings (LESSCHARSET) or use a different or no pager.\n\n-- Hannes\n"},{"id":"174869","messageId":"4E64CFC0.8030704@intland.com","threadId":"28286","inReplyTo":"4E64CBB0.7020902@viscovery.net","subject":"Re: Special characters in file name","fromName":"Tajti Ákos","fromEmail":"akos.tajti@intland.com","sentAt":"2011-09-05T13:33:52Z","receivedAt":"2011-09-05T13:33:52Z","isPatch":false,"sender":{"key":"akos.tajti@intland.com","avatar":null},"body":"Thank you very much, setting LESSCHARSET solved this last problem!\n\nÁkos\n\n2011.09.05. 15:16 keltezéssel, Johannes Sixt írta:\n> Am 9/5/2011 14:14, schrieb Tajti Ákos:\n>> Thanks four your answer. However, it didn't help. After setting the\n>> core.quotepath option to false I get this:\n>>\n>> diff --git a/<E1>rv<ED>zt<FB>r<F5>  b/<E1>rv<ED>zt<FB>r<F5>\n>>\n>> Is there a solution?\n> This is because the output goes through the pager (less), which treats\n> non-ASCII characters.\n>\n> Tweak your settings (LESSCHARSET) or use a different or no pager.\n>\n> -- Hannes\n"}]}