I input the first few bytes of the first sentence on the screenshot into a text file using a hexadecimal editor, and the result is "Add sub-DOM" encoded in GB 2312...
How many years has Unicode been born? As a programmer, why don’t you use UTF-8, which is universal and universal for all platforms? Using GB 2312 on Linux/BSD/macOS where the default encoding is UTF-8 will cause a lot of unnecessary trouble.
The final solution is to add the following code in user-level configuration
vi ~/.gitconfig
I input the first few bytes of the first sentence on the screenshot into a text file using a hexadecimal editor, and the result is "Add sub-DOM" encoded in GB 2312...
How many years has Unicode been born? As a programmer, why don’t you use UTF-8, which is universal and universal for all platforms? Using GB 2312 on Linux/BSD/macOS where the default encoding is UTF-8 will cause a lot of unnecessary trouble.