You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
793 B
30 lines
793 B
6 years ago
|
From 8167287339ae9b0fd5e813eb1bb21967bdf1baad Mon Sep 17 00:00:00 2001
|
||
|
From: Ray Strode <rstrode@redhat.com>
|
||
|
Date: Fri, 8 Jun 2018 16:14:53 +0200
|
||
|
Subject: [PATCH] Revert "server: Error out on unsupported locale"
|
||
|
|
||
|
This reverts commit 27051edaea86908d8852e7bc66d88215b51fc179.
|
||
|
---
|
||
|
src/server.c | 5 -----
|
||
|
1 file changed, 5 deletions(-)
|
||
|
|
||
|
diff --git a/src/server.c b/src/server.c
|
||
|
index 829cf4656c56..b0bdac99d6f9 100644
|
||
|
--- a/src/server.c
|
||
|
+++ b/src/server.c
|
||
|
@@ -120,11 +120,6 @@ init_server (int argc,
|
||
|
}
|
||
|
|
||
|
terminal_i18n_init (TRUE);
|
||
|
- const char *charset;
|
||
|
- if (!g_get_charset (&charset)) {
|
||
|
- g_printerr ("Non UTF-8 locale (%s) is not supported!\n", charset);
|
||
|
- return _EXIT_FAILURE_NO_UTF8;
|
||
|
- }
|
||
|
|
||
|
/* Sanitise environment */
|
||
|
g_unsetenv ("DBUS_STARTER_BUS_TYPE");
|
||
|
--
|
||
|
2.14.4
|
||
|
|