Replies: 1 comment
-
Please test the latest snapshot. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm having problems updating from git version v2.41.0.windows.1 to the latest v2.45.1.
In version 2.41, after I set LANG to zh_CN.utf-8, git's output works fine even though my powershell's code page is 936.

But in version 2.45.1, using the original configuration resulted in garbled code, and I had to set both input and output encodings of console to utf-8 in order to get the git output to work properly.
Or if I set LANG=zh_CN.GBK, I can make git output work.

In short, following the settings from before the update doesn't work.
What's confusing is that with
LANG=zh_CN.UTF-8
, I usedgit log -h > 1.txt
to output to the file, and I found that both versions of the output were utf-8 encoded.pwsh version: PowerShell 7.4.2
windows version: 22631.3593
Beta Was this translation helpful? Give feedback.
All reactions