[BUG REPORT] File names that contain UTF8 characters are unnecessarily escaped in 'git status .' messages

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

 



I have the file that contains the "∞" character in its name.


When this file was modified, 'git status .' showed it as:

>    modified:   "file-name-\342\210\236.ext"


It replaced the UTF8 character with its byte representation, and put the file name in quotes.


git should show such files without escaping when the terminal is able to show UTF8 characters because escaping decreases readability.

$ env | grep TERM
COLORTERM=truecolor
TERM=xterm-256color

$ env | grep LANG
LANG=C.UTF-8

$ env | grep CTYPE
LC_CTYPE=en_US.UTF-8


Thanks,

Yuri




[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