uk_UA.KOI8-U broken?
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 ;-) ? 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? -mi To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: uk_UA.KOI8-U broken?
On Fri, Feb 16, 2001 at 12:54:09PM -0500, [EMAIL PROTECTED] 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 diff -r -u3 -N uk_UA.KOI8-U/LC_MESSAGES uk_UA.KOI8-U.new/LC_MESSAGES --- uk_UA.KOI8-U/LC_MESSAGESWed Dec 31 19:00:00 1969 +++ uk_UA.KOI8-U.new/LC_MESSAGESFri 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_MONETARYWed Dec 31 19:00:00 1969 +++ uk_UA.KOI8-U.new/LC_MONETARYFri 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
Re: uk_UA.KOI8-U broken?
In message <[EMAIL PROTECTED]> [EMAIL PROTECTED] writes: : 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"). I see this same thing on the machine i used to test the libc things. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: uk_UA.KOI8-U broken?
On Fri, Feb 16, 2001 at 13:25:46 -0500, Alexander Matey wrote: > That's right. Quick (and dirty?) patch based on ru_RU.KOI8-R that adds > missing files is attached. It have not enough quality to be commited. Please make nicer version (with comments) based on -current share/{msg,numeric,monet}def -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: uk_UA.KOI8-U broken?
On Sat, Feb 17, 2001 at 08:59:48AM +0300, Andrey A. Chernov wrote: > > That's right. Quick (and dirty?) patch based on ru_RU.KOI8-R that adds > > missing files is attached. > > It have not enough quality to be commited. It wasn't intended to be. In case you haven't noticed that one was for /usr/share/locale/uk_UA.KOI8-U/ - simply a quick fix for Mikhail Teterin to help him get rid of perl warnings. > Please make nicer version (with > comments) based on -current share/{msg,numeric,monet}def Gladly. Attached are 3 diffs against just cvsupped -current tree for /usr/src/share/{msg,numeric,monet}def/. > -- > Andrey A. Chernov > http://ache.pp.ru/ -- lx diff -N -r -u3 monetdef/Makefile monetdef.new/Makefile --- monetdef/Makefile Sat Feb 17 02:04:58 2001 +++ monetdef.new/Makefile Sat Feb 17 02:07:38 2001 @@ -22,6 +22,7 @@ pl_PL.ISO_8859-2 \ ru_RU.KOI8-R \ sv_SE.ISO_8859-1 \ + uk_UA.KOI8-U \ ko_KR.EUC \ ja_JP.EUC diff -N -r -u3 monetdef/uk_UA.KOI8-U.src monetdef.new/uk_UA.KOI8-U.src --- monetdef/uk_UA.KOI8-U.src Wed Dec 31 19:00:00 1969 +++ monetdef.new/uk_UA.KOI8-U.src Sat Feb 17 02:50:37 2001 @@ -0,0 +1,36 @@ +# $FreeBSD$ +# +# WARNING: spaces may be essential at the end of lines +# WARNING: empty lines are essential too +# +# int_curr_symbol +UAH +# currency_symbol +ÇÒÎ +# mon_decimal_point +, +# mon_thousands_sep + +# mon_grouping, separated by ; +3;3 +# positive_sign + +# negative_sign +- +# int_frac_digits +2 +# frac_digits +2 +# p_cs_precedes +0 +# p_sep_by_space +1 +# n_cs_precedes +0 +# n_sep_by_space +1 +# p_sign_posn +1 +# n_sign_posn +1 +# EOF diff -N -r -u3 msgdef/Makefile msgdef.new/Makefile --- msgdef/Makefile Sat Feb 17 02:04:58 2001 +++ msgdef.new/Makefile Sat Feb 17 02:09:36 2001 @@ -17,6 +17,7 @@ pl_PL.ISO_8859-2 \ ru_RU.KOI8-R \ sv_SE.ISO_8859-1 \ + uk_UA.KOI8-U \ ko_KR.EUC \ ja_JP.EUC diff -N -r -u3 msgdef/uk_UA.KOI8-U.src msgdef.new/uk_UA.KOI8-U.src --- msgdef/uk_UA.KOI8-U.src Wed Dec 31 19:00:00 1969 +++ msgdef.new/uk_UA.KOI8-U.src Sat Feb 17 02:10:42 2001 @@ -0,0 +1,14 @@ +# $FreeBSD$ +# +# WARNING: spaces may be essential at the end of lines +# WARNING: empty lines are essential too +# +# yesexpr +^[ÔôyY].* +# noexpr +^[ÎînN].* +# yesstr +ÔÁË +# nostr +Φ +# EOF diff -N -r -u3 numericdef/Makefile numericdef.new/Makefile --- numericdef/Makefile Sat Feb 17 02:04:58 2001 +++ numericdef.new/Makefile Sat Feb 17 02:08:36 2001 @@ -17,6 +17,7 @@ pl_PL.ISO_8859-2 \ ru_RU.KOI8-R \ sv_SE.ISO_8859-1 \ + uk_UA.KOI8-U \ ko_KR.EUC \ ja_JP.EUC diff -N -r -u3 numericdef/uk_UA.KOI8-U.src numericdef.new/uk_UA.KOI8-U.src --- numericdef/uk_UA.KOI8-U.src Wed Dec 31 19:00:00 1969 +++ numericdef.new/uk_UA.KOI8-U.src Sat Feb 17 02:09:00 2001 @@ -0,0 +1,12 @@ +# $FreeBSD$ +# +# WARNING: spaces may be essential at the end of lines +# WARNING: empty lines are essential too +# +# decimal_point +, +# thousands_sep + +# grouping, separated by ; +3;3 +# EOF