diff options
author | Dan Williams <dcbw@redhat.com> | 2010-09-20 15:40:20 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2010-09-20 15:40:20 -0500 |
commit | 674a9412fe634a0417328fd66d0803f80441264b (patch) | |
tree | fc8dae3350ee574974d66455d44b7ce00ca1d0f4 /src | |
parent | 85f827ddffab7b320effdb02572e1751b62e2e60 (diff) |
gsm: allow use of GSM 03.38 character set (bgo #627935)
It's only really used for phonebook and SMS PDU mode in the specs,
which we don't do yet, so if this is the only charset the device
supports we'll try to use it.
Diffstat (limited to 'src')
-rw-r--r-- | src/mm-generic-gsm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mm-generic-gsm.c b/src/mm-generic-gsm.c index 3d0e3986..0bdeec42 100644 --- a/src/mm-generic-gsm.c +++ b/src/mm-generic-gsm.c @@ -863,6 +863,7 @@ static guint32 best_charsets[] = { MM_MODEM_CHARSET_UCS2, MM_MODEM_CHARSET_8859_1, MM_MODEM_CHARSET_IRA, + MM_MODEM_CHARSET_GSM, MM_MODEM_CHARSET_UNKNOWN }; @@ -921,7 +922,7 @@ supported_charsets_done (MMModem *modem, } /* Switch the device's charset; we prefer UTF-8, but UCS2 will do too */ - mm_modem_set_charset (modem, MM_MODEM_CHARSET_UTF8, enabled_set_charset_done, info); + mm_modem_set_charset (modem, best_charsets[0], enabled_set_charset_done, info); } static void |