ste: Use UTF-8 as a default character set
authorLasse Kunnasluoto <lasse.kunnasluoto@tieto.com>
Tue, 18 Jan 2011 15:45:44 +0000 (17:45 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 18 Jan 2011 15:56:27 +0000 (16:56 +0100)
plugins/ste.c

index 7bb7232..85d2d51 100644 (file)
@@ -250,6 +250,10 @@ static int ste_enable(struct ofono_modem *modem)
        g_at_chat_send(data->chat, "AT&F E0 V1 X4 &C1 +CMEE=1",
                        NULL, NULL, NULL, NULL);
 
+       /* All STE modems support UTF-8 */
+       g_at_chat_send(data->chat, "AT+CSCS=\"UTF-8\"",
+                       NULL, NULL, NULL, NULL);
+
        g_io_channel_unref(channel);
        g_at_syntax_unref(syntax);