Guillaume Rousse <[EMAIL PROTECTED]> writes:


[...]

> 1) I didn't manage to produce an english output from rpm. I tried lang=C rpm 
> -qi, LC_ALL=C rpm -qi, RPM_INSTALL_LANG=C rpm -qi, but i had only french 
> ouput.

[a@jabba a]$ rpm -qi glibc
Name        : glibc                        Relocations: (not relocateable)
Version     : 2.2.3                             Vendor: MandrakeSoft
Release     : 1mdk                          Build Date: mar 22 mai 2001 09:28:42 UTC
Install date: jeu 24 mai 2001 15:17:35 UTC      Build Host: no.mandrakesoft.com
Group       : System/Libraries              Source RPM: glibc-2.2.3-1mdk.src.rpm
Size        : 15481272                         License: LGPL
Packager    : Chmouel Boudjnah <[EMAIL PROTECTED]>
Summary     : Biblioth�que C de GNU
Description :
Contient les biblioth�ques standards utilis�es par de nombreux
programmes du syst�me. Pour �conomiser l'espace disque et la m�moire, et
pour faciliter les mises � jour, les parties communes du code sont mises
en un seul endroit et sont partag�es entre les programmes.

Ce paquetage  contient les principales biblioth�ques partag�es, ainsi que les
biblioth�ques standards C et math. Sans elles, un syst�me Linux ne peut pas
fonctionner. Sont �galements inclus le support pour les langues (locales) et
les bases de donn�es pour les fuseaux horaires.


[a@jabba a]$ LANGUAGE=en rpm -qi glibc
Name        : glibc                        Relocations: (not relocateable)
Version     : 2.2.3                             Vendor: MandrakeSoft
Release     : 1mdk                          Build Date: mar 22 mai 2001 09:28:42 UTC
Install date: jeu 24 mai 2001 15:17:35 UTC      Build Host: no.mandrakesoft.com
Group       : System/Libraries              Source RPM: glibc-2.2.3-1mdk.src.rpm
Size        : 15481272                         License: LGPL
Packager    : Chmouel Boudjnah <[EMAIL PROTECTED]>
Summary     : The GNU libc librairies
Description :
The glibc package contains standard libraries which are used by
multiple programs on the system. In order to save disk space and
memory, as well as to make upgrading easier, common system code is
kept in one place and shared between programs. This particular package
contains the most important sets of shared libraries: the standard C
library and the standard math library. Without these two libraries, a
Linux system will not function.  The glibc package also contains
national language (locale) support and timezone databases.


[a@jabba a]$ LANGUAGE=en LC_ALL=en_EN rpm -qi glibc
Name        : glibc                        Relocations: (not relocateable)
Version     : 2.2.3                             Vendor: MandrakeSoft
Release     : 1mdk                          Build Date: Tue 22 May 2001 09:28:42 AM UTC
Install date: Thu 24 May 2001 03:17:35 PM UTC      Build Host: no.mandrakesoft.com
Group       : System/Libraries              Source RPM: glibc-2.2.3-1mdk.src.rpm
Size        : 15481272                         License: LGPL
Packager    : Chmouel Boudjnah <[EMAIL PROTECTED]>
Summary     : The GNU libc librairies
Description :
The glibc package contains standard libraries which are used by
multiple programs on the system. In order to save disk space and
memory, as well as to make upgrading easier, common system code is
kept in one place and shared between programs. This particular package
contains the most important sets of shared libraries: the standard C
library and the standard math library. Without these two libraries, a
Linux system will not function.  The glibc package also contains
national language (locale) support and timezone databases.



Note the dates printed in french for the #2 example. I guess only Pablo
could explain to us how could one part be translated according to one
envvar, the other one according to the other :-).


> 2) my console fonts seems to have a problem with acctentuated characters : La 
> bibliothèque de compression Zlib offre des fonctions de
> compression et de décompression en mémoire, ainsi qu'une vérification
> [guillaume@agathe guillaume]$ rpm -qa | grep font
> XFree86-ISO8859-2-75dpi-fonts-1.0-14mdk
> XFree86-75dpi-fonts-4.0.99.900-3mdk
> mozilla-fonts-20000310-8mdk
> ghostscript-fonts-5.50-6mdk
> XFree86-100dpi-fonts-4.0.99.900-3mdk
> chkfontpath-1.7-4mdk
> drakfont-0.58-13mdk
> urw-fonts-2.0-2mdk
> Which additional font package should i use ?

As far as I see, you need to tell your console that it has to handle some
UTF8 characters.

xterm(1) has:

       -lc     This  option  sets the encodingMode resource as ``locale'', which makes 
xterm interpret incoming data as encoded by
               encoding specified by LC_CTYPE locale.  You will need a Unicode font.  
This mode is default under LC_CTYPE  locales
               other  than  UTF-8 and ISO-8859-x.  This mode is not available for 
non-internationalized OSes.  Note that UTF-8 and
               ISO-8859-* can also be used under this mode if you configure LC_CTYPE 
locale properly.  This sets  wideChars  as  a
               side-effect.  See -8, -en, and -u8 also.

[..]

       -u8     This  option  sets  the encodingMode resource as ``utf8'', which makes 
xterm interpret incoming data as UTF-8.  You
               will need a Unicode font.  This mode is default under UTF-8 locales.  
This sets wideChars as a  side-effect.   Note
               that +u8 is obsolete.  See -8, -en, and -lc also.


etc..


-- 
Guillaume Cottenceau - http://mandrakesoft.com/~gc/

Reply via email to