From owner-freebsd-current@FreeBSD.ORG Fri Jan 11 02:13:42 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 50235A98 for ; Fri, 11 Jan 2013 02:13:42 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from anubis.delphij.net (anubis.delphij.net [64.62.153.212]) by mx1.freebsd.org (Postfix) with ESMTP id 40630832 for ; Fri, 11 Jan 2013 02:13:42 +0000 (UTC) Received: from epsilon.delphij.net (drawbridge.ixsystems.com [206.40.55.65]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by anubis.delphij.net (Postfix) with ESMTPSA id 701AC225F2; Thu, 10 Jan 2013 18:13:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=delphij.net; s=anubis; t=1357870421; bh=FCqVFZDMvJpxulXS4/iv5xnB8cftan2LvbClTrqKR0o=; h=Date:From:Reply-To:To:Subject; b=RKjqmTRbkvbMSK2uww/6ar/gXP3DFZ5p4+1TI4vwVe6B95pro+yViUHmO4x6s6oCH WR/BpV/HT6jAf1SYzDsA7eYH/Oue+a7ai2Jt7ddkN3CCojeHIWMBIOBmzQOA6e7MJh B27DfKIWk55TvKAUG09wl83GkA326zrEDKx4AuOM= Message-ID: <50EF7554.70607@delphij.net> Date: Thu, 10 Jan 2013 18:13:40 -0800 From: Xin Li Organization: The FreeBSD Project MIME-Version: 1.0 To: current@freebsd.org Subject: setlocale() for base system utilities X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: d@delphij.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jan 2013 02:13:42 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi, 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? Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJQ73VUAAoJEG80Jeu8UPuzWR4H/Ap79HVGQso6/HPmiud2JC5q dzeY20K1P2rlQAjDhday1HWJg3bW4ZCzvIX09AVi+lQB8fRAcRzLIFjXt611ovqC tBOhTgtwJvFEYGBs5batWCrEOtbTnbM2YZlOyJegSdjqhIoXiWrj5BCpbr5OaGw7 GK9yJhiYX60vHQwL0kRP4Xwn9Yc1+UPyyzPXj0HpgTutJhFFwcXCymK2ZpWmyxT4 6SdwEcIEsBH2iluunS9yDGKCexk8v8BT/uPUOGOQ6vK9y4L/3egJ3RKrQj4Q3Mu+ Yksn+jIT5eXdijmmbnYZKR0QW/7+eyJbZ4w4ZNasYhEYGskCfj2ce32sbYa7ilw= =p9Ch -----END PGP SIGNATURE-----