From: Junio C Hamano Date: Tue, 25 Sep 2012 17:31:36 GMT Subject: Re: problem with setlocale trick in gettext.c Message-ID: <7va9wevwjr.fsf@alter.siamese.dyndns.org> In-Reply-To: Nguyen Thai Ngoc Duy writes: > I think the setlocale() trick in init_gettext_charset() messes up > locale support from library. Currently I get > > fatal: Could not switch to '/foo/': Kh?ng c? t?p tin ho?c th? m?c nh? v?y That pretty much matches what the big comment before your patch disables, doesn't it? Could it be that newer/older libc differ in the behaviour around this code?