From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20506 invoked by alias); 4 Jan 2012 02:23:43 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 30080 Received: (qmail 3210 invoked from network); 4 Jan 2012 02:23:31 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at vinc17.net does not designate permitted sender hosts) Date: Wed, 4 Jan 2012 03:16:41 +0100 From: Vincent Lefevre To: Frank Terbeck Cc: 654225@bugs.debian.org, Michael Prokop , mbj@spamcop.net, zsh-workers@zsh.org Subject: Re: PATCH: Restore `LC_ALL' when setting `LANG' Message-ID: <20120104021641.GD4513@xvii.vinc17.org> Mail-Followup-To: Frank Terbeck , 654225@bugs.debian.org, Michael Prokop , mbj@spamcop.net, zsh-workers@zsh.org References: <20120102132718.GA12143@gatsby.mbjnet.dk> <87fwfyb2if.fsf@ft.bewatermyfriend.org> <20120102154714.GA20663@gatsby.mbjnet.dk> <87wr9a9ely.fsf@ft.bewatermyfriend.org> <20120103111049.GA5673@gatsby.mbjnet.dk> <87sjjw98yl.fsf@ft.bewatermyfriend.org> <87k458974e.fsf@ft.bewatermyfriend.org> <2012-01-03T15-59-18@devnull.michael-prokop.at> <87boqk95we.fsf@ft.bewatermyfriend.org> <87y5to7qob.fsf@ft.bewatermyfriend.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87y5to7qob.fsf@ft.bewatermyfriend.org> X-Mailer-Info: http://www.vinc17.net/mutt/ User-Agent: Mutt/1.5.21-6201-vl-r48020 (2011-12-20) On 2012-01-03 16:26:44 +0100, Frank Terbeck wrote: > I think the patch below fixes the issue correctly, by restoring LC_ALL > from its parameter along the way with all the other LC_* values zsh > cares about. I don't understand why zsh has anything to do with environment variables to detect the charset (if I understood correctly). Why not using nl_langinfo(CODESET)? -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)