Hello, 

It looks like the git grep command does not support multi-byte character sets 
like UTF-8. As a result some of the grep functionality is not working. For 
example if you search for non Latin words the ignore case flag does not have 
effect(the search is case sensitive). I suspect there are some regular 
expressions that will not work as expected too. 

When I'm using the git from the shell I could use the GNU grep utility instead. 
But some tools like gitweb use git grep so they are not working properly with 
UTF-8 files with non Latin characters. 

Much of the grep code seems to be copied from the GNU grep utility but the 
multi-byte support is left out. I just wondered what could be the reason. 

Regards, 
Plamen Totev
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to