From owner-freebsd-current@FreeBSD.ORG Fri Jan 11 03:39:13 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 5B8D9B86 for ; Fri, 11 Jan 2013 03:39:13 +0000 (UTC) (envelope-from lichray@gmail.com) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id DB397C1F for ; Fri, 11 Jan 2013 03:39:12 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id fp12so1355694lab.27 for ; Thu, 10 Jan 2013 19:39:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=BT4zU96hc0lEIzWoDX8o2xEu/8trr5MRUO6kem3jwag=; b=gUSqqeonZj6iDsE51IdPpr311F5mSfj625pv3JcD2GWuw+g1xK33YgUMchzy6jbVjN mZHeVHXwO471/EFTO/cUw1Ux16maIhZ1gVOK2V1kO+y2H+rZy1jO2jDrOq6uwpYS4+CO 593f2JMJMqyN/7QZRC1nppsxQjl3hVjCMv1Tt3vCBFtRx+H2QThhOn2TLKo/r4E7KTff EGcR9qmbFDNxjx8Y02UqQK0qjkjWBplJAWwA32J5ce1dx8gZD+GL6OAYBhivFo4djuXl E9945I98D20lqZYHyu33buhXvJzsOW26PKU0yfRuiN2SST0eW7+McqbTeLe8ZJiX9ON4 ByKw== MIME-Version: 1.0 Received: by 10.112.51.175 with SMTP id l15mr29477743lbo.5.1357875551297; Thu, 10 Jan 2013 19:39:11 -0800 (PST) Received: by 10.112.75.131 with HTTP; Thu, 10 Jan 2013 19:39:11 -0800 (PST) In-Reply-To: References: <50EF7554.70607@delphij.net> Date: Thu, 10 Jan 2013 21:39:11 -0600 Message-ID: Subject: Re: setlocale() for base system utilities From: Zhihao Yuan To: Xin LI Content-Type: text/plain; charset=UTF-8 Cc: Xin LI , "current@freebsd.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list 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 03:39:13 -0000 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 enabling locale for a narrow-char-only utility, only 8-bit encodings locales are supported, not all. The inconsistency happens within the utility. -- Zhihao Yuan, ID lichray The best way to predict the future is to invent it. ___________________________________________________ 4BSD -- http://4bsd.biz/