Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Feb 2001 13:25:46 -0500
From:      Alexander Matey <matey@cis.ohio-state.edu>
To:        current@FreeBSD.ORG
Subject:   Re: uk_UA.KOI8-U broken?
Message-ID:  <20010216132546.A2869@cis.ohio-state.edu>
In-Reply-To: <200102161754.f1GHsAv12301@misha.privatelabs.com>; from mi@aldan.algebra.com on Fri, Feb 16, 2001 at 12:54:09PM -0500
References:  <200102161754.f1GHsAv12301@misha.privatelabs.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010216132546.A2869>