Re: setlocale() for base system utilities

看板FB_current作者時間12年前 (2013/04/27 13:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/4 (看更多)
On Thursday, January 10, 2013, Zhihao Yuan wrote: > On Thu, Jan 10, 2013 at 8:13 PM, Xin Li <delphij@delphij.net<javascript:;>> > 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-bit locales, like ISO8859-*, but not multibyte > ones. From a user's point of view, this is an inconsistency. > It's inconsistency that some utilities use localized messages while some do, too. So I don't buy that argument. -- Xin LI <delphij@delphij.net> https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1HUrkrnA (FB_current)
文章代碼(AID): #1HUrkrnA (FB_current)