Re: setlocale() for base system utilities

From: Zhihao Yuan <lichray_at_gmail.com>
Date: Thu, 10 Jan 2013 20:55:43 -0600
On Thu, Jan 10, 2013 at 8:13 PM, Xin Li <delphij_at_delphij.net> 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.

--
Zhihao Yuan, ID lichray
The best way to predict the future is to invent it.
___________________________________________________
4BSD -- http://4bsd.biz/
Received on Fri Jan 11 2013 - 01:55:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:33 UTC