From 00143073880432f30daa00c1afa63e4c74aa39a1 Mon Sep 17 00:00:00 2001
From: rbuj <robert.buj@gmail.com>
Date: Sun, 26 Jan 2020 17:38:18 +0100
Subject: fr-process: do not override LC_CTYPE Closes #354

---
 src/fr-process.c | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/src/fr-process.c b/src/fr-process.c
index cfd4033..892aaae 100644
--- a/src/fr-process.c
+++ b/src/fr-process.c
@@ -640,8 +640,11 @@ child_setup (gpointer user_data)
 {
 	FrProcess *process = user_data;
 
-	if (process->priv->use_standard_locale)
-		putenv ("LC_ALL=C");
+	if (process->priv->use_standard_locale) {
+		putenv ("LC_MESSAGES=C");
+		putenv ("LC_TIME=C");
+		putenv ("LC_NUMERIC=C");
+	}
 
 	/* detach from the tty */
 
@@ -744,8 +747,11 @@ start_current_command (FrProcess *process)
 	{
 		int j;
 
-		if (process->priv->use_standard_locale)
-			g_print ("\tLC_ALL=C\n");
+		if (process->priv->use_standard_locale) {
+			g_print ("\tLC_MESSAGES=C\n");
+			g_print ("\tLC_TIME=C\n");
+			g_print ("\tLC_NUMERIC=C\n");
+		}
 
 		if (info->dir != NULL)
 			g_print ("\tcd %s\n", info->dir);
-- 
cgit v1.2.1