Bug 7131 - LC_ALL=C does not work
Summary: LC_ALL=C does not work
Status: RESOLVED WORKSFORME
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: Mageia 3
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-21 09:51 CEST by Jacques Pronchery
Modified: 2012-08-26 18:01 CEST (History)
0 users

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Jacques Pronchery 2012-08-21 09:51:20 CEST
I am in french locales, when I ask LC_ALL=C xxxx, the reply is in french.
Example :

[jacques@localhost ~]$ LC_ALL=C cheese
Erreur de segmentation
[jacques@localhost ~]$
Comment 1 Jacques Pronchery 2012-08-22 07:09:56 CEST
I founded that LC_ALL=C works for the app but not for the system.
But there is a problem with utf8.
Example :

[jacques@localhost ~]$ geeqie
Impossible d'initialiser le support de LIRC
[jacques@localhost ~]$ 

[jacques@localhost ~]$ LC_ALL=C geeqie
Could not init LIRC support
Unable to convert filename to UTF-8:
/home/jacques/Vidéos
Invalid byte sequence in conversion input
Unable to convert filename to UTF-8:
/home/jacques/Modèles
Invalid byte sequence in conversion input
Unable to convert filename to UTF-8:
/home/jacques/Téléchargements
Invalid byte sequence in conversion input
Unable to convert filename to locale from UTF-8:
/home/jacques/Modèles
Invalid byte sequence in conversion input
Unable to convert filename to locale from UTF-8:
/home/jacques/Téléchargements
Invalid byte sequence in conversion input
Unable to convert filename to locale from UTF-8:
/home/jacques/Vidéos
Invalid byte sequence in conversion input
[jacques@localhost ~]$ 

Is it normal ?
Comment 2 Manuel Hiebel 2012-08-25 13:42:55 CEST
Same with other gtk/gnome apps ? with qt/kde apps ? other ?
Comment 3 Jacques Pronchery 2012-08-25 14:32:42 CEST
I do not found another app.
It seems to be a geeqie problem.
Comment 4 Manuel Hiebel 2012-08-25 16:41:37 CEST
seems your are confusing two bugs, so can we stay with the first one ?
Comment 5 Jacques Pronchery 2012-08-25 17:56:52 CEST
I do not know if the first one is a bug, I think that LC_ALL=C is for the app not for system. (segfault is sent by the system).

For the second one it is a special case and a normal user will not found it.
If it is not important you can close this bug.
Comment 6 Manuel Hiebel 2012-08-26 18:01:38 CEST
so yes closing..

Status: NEW => RESOLVED
Resolution: (none) => WORKSFORME
Target Milestone: --- => Mageia 3


Note You need to log in before you can comment on or make changes to this bug.