From: Ævar Arnfjörð Bjarmason Date: Sat, 28 Aug 2010 21:33:43 GMT Subject: Re: Odd encoding issue with UTF-8 + gettext yields ? on non-ASCII Message-ID: In-Reply-To: On Sat, Aug 28, 2010 at 21:17, Ævar Arnfjörð Bjarmason wrote: > I'm having an odd encoding issue with gettext on my > gettextize-git-mainporcelain branch that hadn't been turned up before > because none of the existing messages used non-ASCII translations. Well, this is fun. It turns out that reverting 107880a makes it work, i.e. you need to set LC_CTYPE since reading *.mo files in a locale-awere manner involved character classification. But as 107880a explains doing so broke other parts of Git. I'll have to think about how to solve that, one way obviously would be to fix up our vsnprintf() invocation, but there may be others like it that I haven't spotted.