Opened 19 years ago
Closed 19 years ago
#1814 closed defect (fixed)
Locale checking heuristic should use country_name rather name country
| Reported by: | Owned by: | ||
|---|---|---|---|
| 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 , 19 years ago
comment:2 by , 19 years ago
| Owner: | changed from to | 
|---|---|
| Status: | new → assigned | 
comment:3 by , 19 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | assigned → closed | 
Removed the "locale country" command in r7650.
comment:4 by , 19 years ago
| Resolution: | fixed | 
|---|---|
| Status: | closed → reopened | 
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 , 19 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | reopened → closed | 
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.
    
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."