I've change my core.quotepath
to off
.
My locale
is UTF-8
I use Git Bash on Windows 10, Git Bash's text font set to be Consolas.
But my 初めに.txt
file showed up as 初めに.txt
Font error, 初めに.txt got changed to σê¥πéüπü½.txt
Text Font has been set to Consolas
longnx@DESKTOP-D46DU6R MINGW64 /d/tmp/demo-utf8 (master)
$ git config -l
diff.astextplain.textconv=astextplain
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.smudge=git-lfs smudge -- %f
filter.lfs.process=git-lfs filter-process
filter.lfs.required=true
http.sslbackend=openssl
http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
core.autocrlf=false
core.fscache=true
core.symlinks=true
credential.helper=manager
pull.rebase=false
merge.tool=kdiff3
mergetool.kdiff3.path=C:/Program Files/KDiff3/kdiff3.exe
diff.guitool=kdiff3
difftool.kdiff3.path=C:/Program Files/KDiff3/kdiff3.exe
core.editor='d:/apps/npp/notepad++.exe' -multiInst -notabbar -nosession -noPlugin
core.quotepath=off
pull.rebase=false
fetch.prune=false
rebase.autostash=false
core.repositoryformatversion=0
core.filemode=false
core.bare=false
core.logallrefupdates=true
core.symlinks=false
core.ignorecase=true
(END)
here is my locale
, all UTF-8
longnx@DESKTOP-D46DU6R MINGW64 /d/tmp/demo-utf8 (master)
$ locale
LANG=C.UTF-8
LC_CTYPE="C.UTF-8"
LC_NUMERIC="C.UTF-8"
LC_TIME="C.UTF-8"
LC_COLLATE="C.UTF-8"
LC_MONETARY="C.UTF-8"
LC_MESSAGES="C.UTF-8"
LC_ALL=
here is git status
return
longnx@DESKTOP-D46DU6R MINGW64 /d/tmp/demo-utf8 (master)
$ git status
On branch master
No commits yet
Untracked files:
(use "git add <file>..." to include in what will be committed)
初めに.txt
nothing added to commit but untracked files present (use "git add" to track)
although ls
show it correctly
longnx@DESKTOP-D46DU6R MINGW64 /d/tmp/demo-utf8 (master)
$ ls
初めに.txt
Try this solution:
https://stackoverflow.com/questions/34549040/git-not-displaying-unicode-file-names