{"thread":{"id":"56153","subject":"Git show only showing ASCII chars problem","startedAt":"2021-07-23T17:26:39Z","lastAt":"2021-07-23T19:37:08Z","messageCount":3,"participants":["Daniel Santos","Felipe Contreras","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"431062","messageId":"924b70af-1e55-0944-0f45-ab28cff1e98d@brighterdan.com","threadId":"56153","inReplyTo":null,"subject":"Git show only showing ASCII chars problem","fromName":"Daniel Santos","fromEmail":"hello@brighterdan.com","sentAt":"2021-07-23T17:20:34Z","receivedAt":"2021-07-23T17:26:39Z","isPatch":false,"sender":{"key":"hello@brighterdan.com","avatar":null},"body":"Thank you for filling out a Git bug report!\nPlease answer the following questions to help us understand your issue.\n\nWhat did you do before the bug happened? (Steps to reproduce your issue)\ngit show\n\nWhat did you expect to happen? (Expected behaviour)\nShow non-ASCII characters\n\nWhat happened instead? (Actual behaviour)\n`show` does not show non-ASCII characters such as ç , ã , õ ...\n\nWhat's different between what you expected and what actually happened?\nI expect for `git show` to show all of my machine locale characters, \nsuch as ç , without any problem\n\nAnything else you want to add:\nI am on Arch Linux and I installed git using pacman. That is all.\n\nPlease review the rest of the bug report below.\nYou can delete any lines you don't wish to share.\n\n\n[System Info]\ngit version:\ngit version 2.32.0\ncpu: x86_64\nno commit associated with this build\nsizeof-long: 8\nsizeof-size_t: 8\nshell-path: /bin/sh\nuname: Linux 5.10.52-1-lts #1 SMP Tue, 20 Jul 2021 16:46:09 +0000 x86_64\ncompiler info: gnuc: 11.1\nlibc info: glibc: 2.33\n$SHELL (typically, interactive shell): /bin/bash\n\n\n[Enabled Hooks]\nnot run from a git repository - no hooks to show\n"},{"id":"431074","messageId":"60fb0515a3cea_defb20817@natae.notmuch","threadId":"56153","inReplyTo":"924b70af-1e55-0944-0f45-ab28cff1e98d@brighterdan.com","subject":"RE: Git show only showing ASCII chars problem","fromName":"Felipe Contreras","fromEmail":"felipe.contreras@gmail.com","sentAt":"2021-07-23T18:06:13Z","receivedAt":"2021-07-23T18:06:18Z","isPatch":false,"sender":{"key":"felipe.contreras@gmail.com","avatar":"https://avatars.githubusercontent.com/u/8358?v=4"},"body":"Daniel Santos wrote:\n> Thank you for filling out a Git bug report!\n> Please answer the following questions to help us understand your issue.\n> \n> What did you do before the bug happened? (Steps to reproduce your issue)\n> git show\n> \n> What did you expect to happen? (Expected behaviour)\n> Show non-ASCII characters\n> \n> What happened instead? (Actual behaviour)\n> `show` does not show non-ASCII characters such as ç , ã , õ ...\n> \n> What's different between what you expected and what actually happened?\n> I expect for `git show` to show all of my machine locale characters, \n> such as ç , without any problem\n\nWhat is the content of your LANG environment variable?\n\nAlso, can you attach the commit that caused the issue? You can save it\nwith this command:\n\n  git cat-file -p @ > commit.txt\n\n-- \nFelipe Contreras"},{"id":"431088","messageId":"xmqqfsw4n7oj.fsf@gitster.g","threadId":"56153","inReplyTo":"924b70af-1e55-0944-0f45-ab28cff1e98d@brighterdan.com","subject":"Re: Git show only showing ASCII chars problem","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2021-07-23T19:37:00Z","receivedAt":"2021-07-23T19:37:08Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Daniel Santos <hello@brighterdan.com> writes:\n\n> Thank you for filling out a Git bug report!\n> Please answer the following questions to help us understand your issue.\n>\n> What did you do before the bug happened? (Steps to reproduce your issue)\n> git show\n\nThanks for a report, but sorry, it is *not* \"steps to reproduce your\nissue\", as people who do not have the commit you have trouble with\nchecked out would not see your issue reproduced by typing \"git\nshow\".  Something like this:\n\n    $ mkdir newdir; cd newdir; git init\n    $ echo 'ç ã õ' >file; git add file\n    $ git commit -m \"add file with non-ascii contents\"\n    $ git show\n\nmay be detailed enough for people to try reproducing what I see\n(i.e. creation of a single-line file is shown with its non-ascii\ncontents).\n\nBy the way, if the problem is that your pathnames in the patch are\nprotected from corruption by quoting, perhaps\n\n    $ git config --global core.quotepath false\n\nmay be what you are looking for.  I couldn't tell from your report\nif that is the case, though.\n\nThanks.\n\n"}]}