Re: bug report: symbolic-ref --short command echos the wrong text while use Chinese language
- From
Torsten Bögershausen <tboegi@web.de>
- Date
- Feb 15, 2023, 17:19 UTC
- Message-ID
- <20230215171924.6dutxlsi64h4upkg@tb-raspi4>
- In-Reply-To
- <CAPig+cRmgGssbN=dDmeDeNeBJhcjvtzxg6O_ZNX5U9kWY0jfZg@mail.gmail.com>
On Wed, Feb 15, 2023 at 11:37:11AM -0500, Eric Sunshine wrote:
Show 12 quoted lines
> On Wed, Feb 15, 2023 at 11:33 AM Torsten Bögershausen <tboegi@web.de> wrote: > > It would be helpful, to pipe the result into xxd: > > git symbolic-ref --short HEAD | xxd > > And then see, if there is any garbling inside or outside of Git ? > > Here's what I get: > > $ git symbolic-ref --short HEAD | xxd > 00000000: e6b5 8be8 af95 2de5 8a0a ......-... > $ LANG=C git symbolic-ref --short HEAD | xxd > 00000000: e6b5 8be8 af95 2de5 8aa0 2de5 a29e e58a ......-...-..... > 00000010: a02d e58a a02d e5a2 9ee5 8aa0 0a .-...-.......
Interesting. I just saw that there are already fixes going on: Is the fix from Peff helping here ?
And what do you see on disk ?