Re: Chinese characters are garbled, setting utf-8 is also garbled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2020-08-01 at 04:36:50, Nicholas Hsiang wrote:
> Hi,
> 
> There are some problems here.
> 
> I have configured the character encoding in .gitconfig:
> 
> ```yaml
> [core]
>   quotepath = false
> [gui]
>   encoding = utf-8
> [i18n]
>   commitencoding = utf-8
>   logoutputencoding = utf-8
> ```
> 
> and Git Bash configed: Options > Text > Locale: zh_CN, Character set: UTF-8
> 
> However, when executing `git pull/reset/status`, Chinese characters
> still appeared garbled.
> 
> ```bash
> Xiang@Xiang MINGW64 /c/me/front-end-note (master)
> $ git reset --hard df576e2
> HEAD is now at df576e2 doc: 琛ュ厖 ES5 缁ф壙
> ```

Since this is a Windows issue, you'd be better off reporting this at the
Git for Windows issue tracker at
https://github.com/git-for-windows/git/issues/.  As far as what I've
seen in your email, the characters do appear to be in Chinese, although
since I don't speak or read that language, I don't know whether they
make any sense or are garbled.
-- 
brian m. carlson: Houston, Texas, US

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux