Bug 79281

Summary: Many error messages during define new locale
Product: [Retired] Red Hat Linux Reporter: Dennis <messiah>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: fweimer
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-12-09 15:23:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dennis 2002-12-09 15:23:24 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1)
Gecko/20020823 Netscape/7.0

Description of problem:
Creating new locale (in my case cp1251) didn't fully complete 

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. just run # localedef -c -i ru_RU -f CP-1251 ru_RU.CP1251
	

Actual Results:  /usr/share/i18n/locales/ru_RU:72: LC_MESSAGES: unknown
character in field `yesexpr'
/usr/share/i18n/locales/ru_RU:73: LC_MESSAGES: unknown character in field `noexpr'
/usr/share/i18n/locales/ru_RU:78: LC_MONETARY: unknown character in field
`currency_symbol'
/usr/share/i18n/locales/ru_RU:101: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/ru_RU:102: LC_TIME: unknown character in field `day'
[...skipped a lot of such messages...]
/usr/share/i18n/locales/ru_RU:137: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/ru_RU:138: LC_TIME: unknown character in field `abmon'
LC_MESSAGES: value for field `yesexpr' must not be an empty string
LC_MESSAGES: value for field `noexpr' must not be an empty string


Expected Results:  none error mesages I think

Additional info: Latest glibc was installed on my system, system is up2dated
regulary

Comment 1 Jakub Jelinek 2002-12-09 15:31:01 UTC
That's not how the character map is called in /usr/share/i18n/charmaps.
Replace CP-1251 with CP1251 and it should work just fine.