On 24/11/2013 16:05, Thomas Rast wrote:
> Trần Ngọc Quân <vnwild...@gmail.com> writes:
>> $ git status
>> fatal: Unable to read current working directory: Kh?ng c? t?p tin ho?c
>> th? m?c nh? v?y
>> So, somthing wrong with our charset.
> Do you know why this "suddenly" broke?
I think git set CTYPE="C" for libc, so charset become 7-bit ASCII, but
it don't set LC_MESSAGES="C" for libc and libc will get this one from
> The long comment in
> init_gettext_charset() suggests that the *existing* code is there to
> handle exactly this problem, and apparently it doesn't. Why? Has libc
> moved the perror() strings into a separate domain in some version?
See setlocale(3) 
I'm a newbie in GIT. I'm not sure about git work correctly  if set
git's charset to same with system.
I don't think libc moved perror() string in separate domain. It use its
 incorrect if some function need work in ASCII mode
Trần Ngọc Quân.
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