Opened 18 years ago

Closed 18 years ago

#1814 closed defect (fixed)

Locale checking heuristic should use country_name rather name country

Reported by: dbn.lists@… Owned by: dnicholson@…
Priority: normal Milestone: 6.2
Component: Book Version: SVN
Severity: normal Keywords: locale
Cc:

Description

When using en_US locale with ISO-8859-1 or UTF-8 character set, locale country produces no output. However, locale country_name produces USA. However, the behavior I see on my box is that some locales still return no country with this. Alexander, any comments?

[08:02 PM dan@silky] LC_ALL=de_CH locale country
[08:03 PM dan@silky] LC_ALL=de_CH locale country_name

[08:03 PM dan@silky] LC_ALL=de_DE locale country_name
Deutschland
[08:03 PM dan@silky] LC_ALL=de_DE locale country

Change History (5)

comment:1 by alexander@…, 18 years ago

That's why in http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2006-June/057530.html I said "or, since it does print nothing in some other valid locales, remove it."

comment:2 by dnicholson@…, 18 years ago

Owner: changed from lfs-book@… to dnicholson@…
Status: newassigned

comment:3 by dnicholson@…, 18 years ago

Resolution: fixed
Status: assignedclosed

Removed the "locale country" command in r7650.

comment:4 by alexander@…, 18 years ago

Resolution: fixed
Status: closedreopened

The instructions are fixed, the text isn't. It still says: "The above commands should print the country and language names", while we don't print the country name.

comment:5 by bdubbs@…, 18 years ago

Resolution: fixed
Status: reopenedclosed

Updated the text in profile.xml.

This was a very minor change so I did not add an entry in the changelog.

Note: See TracTickets for help on using tickets.