From owner-freebsd-questions@freebsd.org Sun Nov 3 04:20:02 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F1DCB1A5430 for ; Sun, 3 Nov 2019 04:20:02 +0000 (UTC) (envelope-from johnl@iecc.com) Received: from gal.iecc.com (gal.iecc.com [IPv6:2001:470:1f07:1126:0:43:6f73:7461]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gal.iecc.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 475N4d2kGbz4cd4 for ; Sun, 3 Nov 2019 04:20:01 +0000 (UTC) (envelope-from johnl@iecc.com) Received: (qmail 12835 invoked from network); 3 Nov 2019 04:20:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:references:mime-version:content-type:user-agent; s=3219.5dbe5570.k1911; i=johnl-iecc.com@submit.iecc.com; bh=lW1/aSa+nFxRg8wiiT1M950wTtlx6JRs8Zcup4L18Vo=; b=zzeiq6C1c9RD6aBhPyvBHscksSZ7ycBiTAQZ/r7+cgMVvoPLjdj4/ALH5CmGszVioDWA28VKa4qlCv8OLtmUW7S3I1txNIW9gg1K3h8w0J0ug8nndRVQk3DH3ZJ/NmZ4CFcoQ66v/wPuf+9N7j/s/G2aihOTf5HKe4QOfOwVgdHXKU6sbul6Istl7hidGvfOBc6I74DplDl6kOcLNQEsUxpmnK5K4pBBzePqewGU4QyvoWJbZZwotHQMkxpFz26w Received: from localhost ([IPv6:2001:470:1f07:1126::78:696d:6170]) by imap.iecc.com ([IPv6:2001:470:1f07:1126::78:696d:6170]) with ESMTPSA (TLS1.3 ECDHE-RSA AES-256-GCM AEAD, johnl@iecc.com) via TCP6; 03 Nov 2019 04:19:59 -0000 Date: 3 Nov 2019 00:19:59 -0400 Message-ID: From: "John R. Levine" To: "Ronald F. Guilmette" Cc: freebsd-questions@freebsd.org Subject: Re: sort is broken In-Reply-To: <8847.1572745058@segfault.tristatelogic.com> References: <8847.1572745058@segfault.tristatelogic.com> User-Agent: Alpine 2.21.99999 (OSX 374 2019-10-27) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 475N4d2kGbz4cd4 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=iecc.com header.s=3219.5dbe5570.k1911 header.b=zzeiq6C1; dmarc=pass (policy=none) header.from=iecc.com; spf=pass (mx1.freebsd.org: domain of johnl@iecc.com designates 2001:470:1f07:1126:0:43:6f73:7461 as permitted sender) smtp.mailfrom=johnl@iecc.com X-Spamd-Result: default: False [-5.62 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(0.00)[iecc.com:s=3219.5dbe5570.k1911]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(0.00)[+ip6:2001:470:1f07:1126::/64]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DWL_DNSWL_MED(-2.00)[iecc.com.dwl.dnswl.org : 127.0.4.2]; BAD_REP_POLICIES(0.10)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[iecc.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(0.00)[iecc.com,none]; URIBL_PBL(0.01)[jl.ly]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-1.63)[ipnet: 2001:470::/32(-4.61), asn: 6939(-3.47), country: US(-0.05)]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Nov 2019 04:20:03 -0000 > In my env, LC_ALL is not set at all. > > I do have these, but not sure if they make any difference: > > LANG=en_US.UTF-8 > XTERM_LOCALE=en_US.UTF-8 > LESSCHARSET=utf-8 Try this and see if it's happier: export LC_ALL=en_US.UTF-8 I think your problem is that the default C locale is ASCII only. Regards, John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies", Please consider the environment before reading this e-mail. https://jl.ly