aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-02-14 22:56:22 +0100
committerAleksander Morgado <aleksander@aleksander.es>2021-02-23 11:35:11 +0000
commit4a06a02765df1db1e641ef41d642ca27b8158005 (patch)
tree66f72778a6491381b744de4408373afa84c79072 /src/main.c
parent8a8e00168b02c5064f01d5da20a97c7268ba1e2b (diff)
charsets: detect iconv() support in runtime
The only purpose of this is to log what we found, nothing else, as a quick way to detect platform support for the charsets we need.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 928078a3..d11383c3 100644
--- a/src/main.c
+++ b/src/main.c
@@ -182,6 +182,9 @@ main (int argc, char *argv[])
mm_info ("ModemManager (version " MM_DIST_VERSION ") starting in %s bus...",
mm_context_get_test_session () ? "session" : "system");
+ /* Detect runtime charset conversion support */
+ mm_modem_charsets_init ();
+
/* Acquire name, don't allow replacement */
name_id = g_bus_own_name (mm_context_get_test_session () ? G_BUS_TYPE_SESSION : G_BUS_TYPE_SYSTEM,
MM_DBUS_SERVICE,