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

Re: ls-tree with non-english characters

From
TÁTajti Ákos <akos.tajti@intland.com>
Date
Jul 26, 2011, 11:30 UTC
Message-ID
<4E2EA54E.9030204@intland.com>
In-Reply-To
<20110726103927.GA31625@goldbirke>
Thanks, Gábor, you helped a lot!

Regards, Ákos

2011.07.26. 12:39 keltezéssel, SZEDER Gábor írta:
Show 22 quoted lines
> 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
>
Previous: SZEDER GáborNext: Alexey Shumkin
Message 3 of 5 in “ls-tree with non-english characters”
  1. Tajti ÁkosJul 26, 2011
  2. SZEDER GáborJul 26, 2011
  3. Tajti ÁkosJul 26, 2011
  4. Alexey ShumkinJul 26, 2011
  5. Tajti ÁkosJul 26, 2011

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.