git@vger.kernel.org list mirror (unofficial, one of many)
 help / color / Atom feed
From: Nicholas Hsiang <xianghongai@gmail.com>
To: "brian m. carlson" <sandals@crustytoothpaste.net>,
	Nicholas Hsiang <xianghongai@gmail.com>,
	git@vger.kernel.org
Subject: Re: Chinese characters are garbled, setting utf-8 is also garbled
Date: Sun, 2 Aug 2020 12:17:37 +0800
Message-ID: <CAEcaDL=DOn8d=L0Db41o--vOzjSzxVxsDTX9poXHTHHwBV0SCQ@mail.gmail.com> (raw)
In-Reply-To: <20200802012802.GK6540@camp.crustytoothpaste.net>

I submit an issue with them, Thanks for the tip!
:)
--
xiang hong ai: ChangSha, HuNan, CN

brian m. carlson <sandals@crustytoothpaste.net> 于2020年8月2日周日 上午9:28写道:
>
> 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



-- 
Live Long and Prosper.

      reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-01  4:36 Nicholas Hsiang
2020-08-02  1:28 ` brian m. carlson
2020-08-02  4:17   ` Nicholas Hsiang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEcaDL=DOn8d=L0Db41o--vOzjSzxVxsDTX9poXHTHHwBV0SCQ@mail.gmail.com' \
    --to=xianghongai@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=sandals@crustytoothpaste.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

git@vger.kernel.org list mirror (unofficial, one of many)

Archives are clonable:
	git clone --mirror http://public-inbox.org/git
	git clone --mirror http://ou63pmih66umazou.onion/git
	git clone --mirror http://czquwvybam4bgbro.onion/git
	git clone --mirror http://hjrcffqmbrq6wope.onion/git

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.version-control.git
	nntp://ou63pmih66umazou.onion/inbox.comp.version-control.git
	nntp://czquwvybam4bgbro.onion/inbox.comp.version-control.git
	nntp://hjrcffqmbrq6wope.onion/inbox.comp.version-control.git
	nntp://news.gmane.io/gmane.comp.version-control.git

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git