diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-02-14 22:56:22 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-02-23 11:35:11 +0000 |
commit | 4a06a02765df1db1e641ef41d642ca27b8158005 (patch) | |
tree | 66f72778a6491381b744de4408373afa84c79072 /src/main.c | |
parent | 8a8e00168b02c5064f01d5da20a97c7268ba1e2b (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.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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, |