From: SZEDER Gábor Date: Tue, 26 Jul 2011 10:39:27 GMT Subject: Re: ls-tree with non-english characters Message-ID: <20110726103927.GA31625@goldbirke> In-Reply-To: <4E2E8B33.6070900@intland.com> Szervusz Ákos, On Tue, Jul 26, 2011 at 11:38:59AM +0200, Tajti Ákos wrote: > I tried to use git ls-tree but on blob names containing non-english > characters I get a strange output. For example: > > ákosű -> \303\241kos\305\261 > > There's no mention of this format in the manual of ls-tree. Could you please > help me on resolving this cryptic string to the original form? Try with the -z option, it seems to do more than the documentation suggests: $ git ls-tree HEAD 100644 blob e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 "\303\241rv\303\255zt\305\261r\305\221" $ git ls-tree -z HEAD 100644 blob e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 árvíztűrő Gábor