Messages in this thread | | | Date | Thu, 07 Jan 2010 16:43:55 -0800 | From | "H. Peter Anvin" <> | Subject | Re: [patch] Makefile: Unexport LANG |
| |
On 01/07/2010 04:41 PM, Simon Horman wrote: > On Sat, Dec 26, 2009 at 10:20:07PM +1100, Simon Horman wrote: >> On Fri, Dec 25, 2009 at 09:14:40PM -0800, H. Peter Anvin wrote: >>> On 12/25/2009 08:30 PM, Masami Hiramatsu wrote: >>>>> >>>>> # Avoid funny character set dependencies >>>>> +unexport LANG >>>>> unexport LC_ALL >>>>> LC_CTYPE=C >>>>> LC_COLLATE=C >>>> >>> >>> At this point, it seems to me that we should just LC_ALL=C and be done >>> with it (see other thread.) >> >> Sure, that would also work for the case that I'm seeing. >> >> I tested the following: >> >> # Avoid funny character set dependencies >> LC_ALL=C >> export LC_ALL >> >> Though personally I would advocate tweaking the locale as needed closer >> to awk scripts and the like, rather than the high-level general change that >> was made. Fall-out from a high-level change seems inevitable to me. > > This seems to still be broken. Can we decide on a solution? >
I think it's up to Michal to pick the preferred solution.
It has been pointed out that one option might also to be to *not* override LC_CTYPE, and only override LC_COLLATE.
-hpa
| |