From owner-freebsd-current Fri Feb 16 10:26: 7 2001 Delivered-To: freebsd-current@freebsd.org Received: from cis.ohio-state.edu (mail.cis.ohio-state.edu [164.107.115.5]) by hub.freebsd.org (Postfix) with ESMTP id B509437B401 for ; Fri, 16 Feb 2001 10:26:01 -0800 (PST) Received: from theta.cis.ohio-state.edu (matey@theta.cis.ohio-state.edu [164.107.112.63]) by cis.ohio-state.edu (8.9.1/8.9.1) with ESMTP id NAA08062 for ; Fri, 16 Feb 2001 13:26:01 -0500 (EST) Received: (from matey@localhost) by theta.cis.ohio-state.edu (8.9.1/8.9.1) id NAA04024 for current@FreeBSD.ORG; Fri, 16 Feb 2001 13:26:00 -0500 (EST) Date: Fri, 16 Feb 2001 13:25:46 -0500 From: Alexander Matey To: current@FreeBSD.ORG Subject: Re: uk_UA.KOI8-U broken? Message-ID: <20010216132546.A2869@cis.ohio-state.edu> Mail-Followup-To: current@FreeBSD.ORG References: <200102161754.f1GHsAv12301@misha.privatelabs.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Qxx1br4bt0+wmkIi" Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <200102161754.f1GHsAv12301@misha.privatelabs.com>; from mi@aldan.algebra.com on Fri, Feb 16, 2001 at 12:54:09PM -0500 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Feb 16, 2001 at 12:54:09PM -0500, mi@aldan.algebra.com wrote: > As if the __stderr/__sF troubles weren't enough, my locale settings > don't work any more. ls(1) just shows the English names for the months, > perl complains every time: > > perl: warning: Please check that your locale settings: > LC_ALL = (unset), > LANG = "uk_UA.KOI8-U" > are supported and installed on your system. > perl: warning: Falling back to the standard locale ("C"). > > And other programs (elm, vi) misbehave similarly. ru_SU.KOI8-R is fine. > Would this be an imperial-sponsored conspiracy ;-) ? No, this would be "go and fix it yourself for now, because it takes 1 min to do it and people are busy doing more important things..." :) uk_UA.KOI8-U isn't the only locale that wasn't updated yet, btw. > The /usr/share/locale/uk_UA.KOI8-U only has LC_COLLATE, LC_CTYPE, > LC_TIME, while the ru_SU.KOI8-R has LC_MESSAGES, LC_MONETARY, LC_NUMERIC > as well. But it used to work before. Perhaps, the recent changes > in locale handling require all (more) LC_* files to be present? That's right. Quick (and dirty?) patch based on ru_RU.KOI8-R that adds missing files is attached. > -mi -- lx --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=koi8-r Content-Disposition: attachment; filename="uk_UA.KOI8-U.full-locale.diff" Content-Transfer-Encoding: 8bit diff -r -u3 -N uk_UA.KOI8-U/LC_MESSAGES uk_UA.KOI8-U.new/LC_MESSAGES --- uk_UA.KOI8-U/LC_MESSAGES Wed Dec 31 19:00:00 1969 +++ uk_UA.KOI8-U.new/LC_MESSAGES Fri Feb 16 13:13:05 2001 @@ -0,0 +1,2 @@ +^[ÔôyY].* +^[ÎînN].* diff -r -u3 -N uk_UA.KOI8-U/LC_MONETARY uk_UA.KOI8-U.new/LC_MONETARY --- uk_UA.KOI8-U/LC_MONETARY Wed Dec 31 19:00:00 1969 +++ uk_UA.KOI8-U.new/LC_MONETARY Fri Feb 16 13:14:41 2001 @@ -0,0 +1,15 @@ +UAH +ÇÒÎ. +, + +3;3 + +- +2 +2 +0 +1 +0 +1 +1 +1 diff -r -u3 -N uk_UA.KOI8-U/LC_NUMERIC uk_UA.KOI8-U.new/LC_NUMERIC --- uk_UA.KOI8-U/LC_NUMERIC Wed Dec 31 19:00:00 1969 +++ uk_UA.KOI8-U.new/LC_NUMERIC Fri Feb 16 13:13:49 2001 @@ -0,0 +1,3 @@ +, + +3;3 --Qxx1br4bt0+wmkIi-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message