Fork from Don't display ^M (carriage return) in git grep output
In my MinTTY (Cygwin on Windows), git grep
display weird chars instead of accents:
Upon verification, it seems that the filetype is:
ISO-8859 text, with very long lines, with CRLF line terminators
While my MinTTY is set up as UTF-8:
# Text
Font=Powerline Consolas
FontHeight=9
BoldAsFont=yes
BoldAsColour=yes
AllowBlinking=yes
Locale=C
Charset=UTF-8
# Terminal
Term=xterm-256color
Of course, when grepping in files from different repos, we never know in which encoding it is.
Is there a way for Git Grep to behave better?
PS- (Side question) What's the color spec for those accents (here displayed in yellow on blue)?