Re: setlocale() for base system utilities

2013-01-10 Thread Zhihao Yuan
On Thu, Jan 10, 2013 at 9:24 PM, Xin LI wrote: > It's inconsistency that some utilities use localized messages while some do, > too. So I don't buy that argument. If one utility support catalogs, then localized messages can be fully supported by providing catalogs for all the locales. But if en

Re: setlocale() for base system utilities

2013-01-10 Thread Xin LI
On Thursday, January 10, 2013, Zhihao Yuan wrote: > On Thu, Jan 10, 2013 at 8:13 PM, Xin Li > > wrote: > > I just noticed that many base system utilities, like rm, cat, etc. > > does not do setlocale() at beginning. Is this intentional or just > > nobody have yet to done it? > > Enabling locale i

Re: setlocale() for base system utilities

2013-01-10 Thread Zhihao Yuan
On Thu, Jan 10, 2013 at 8:13 PM, Xin Li wrote: > I just noticed that many base system utilities, like rm, cat, etc. > does not do setlocale() at beginning. Is this intentional or just > nobody have yet to done it? Enabling locale in the non-wide-char-awared utilities only makes difference for 8-