[LFS Trac] #2172: grep-2.5.1a skips 1 test because cs_CZ.UTF-8 locale could not be installed

LFS Trac trac at linuxfromscratch.org
Wed Apr 2 06:55:39 MDT 2008


#2172: grep-2.5.1a skips 1 test because cs_CZ.UTF-8 locale could not be installed
---------------------+------------------------------------------------------
 Reporter:  gabriel  |        Owner:  lfs-book at linuxfromscratch.org
     Type:  defect   |       Status:  new                          
 Priority:  normal   |    Milestone:                               
Component:  Book     |      Version:  6.3                          
 Severity:  trivial  |   Resolution:                               
 Keywords:           |  
---------------------+------------------------------------------------------
Comment (by alexander at linuxfromscratch.org):

 Replying to [comment:2 gabriel]:
 > Replying to [comment:1 alexander at linuxfromscratch.org]:
 > > The localedef command above is obviously wrong, should be:
 > >
 > > {{{
 > > localedef -i cs_CZ -f UTF-8 cs_CZ.UTF-8
 > > }}}
 >
 > The above command works. When you don't have any cs_CZ* locale installed
 (the case described), two locales will be installed with the above
 command: cs_CZ and cs_CZ.utf8 (just localedef --list-archive to see the
 results). I put this command by this way, without ".UTF-8" at the end, to
 follow the pattern of the book, like the locale fa_IR install mentioned at
 chapter 6.9: localedef -i fa_IR -f UTF-8 fa_IR.

 Indeed, the above command doesn't produce error messages. But it is wrong,
 because the cs_CZ locale must have the ISO-8859-2 charset. Check yourself
 with the following command:

 {{{
 LC_ALL=cs_CZ locale charmap
 }}}

 fa_IR is a special case because it is not supposed to have a non-UTF-8
 counterpart.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2172#comment:3>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.



More information about the lfs-book mailing list