Merge pull request #236 from special/master

[ofono] Encode SMS as UTF-16 instead of UCS-2
This commit is contained in:
Tommi Kenakkala
2014-06-26 08:56:29 +03:00

View File

@@ -3561,7 +3561,7 @@ GSList *sms_text_prepare_with_alphabet(const char *to, const char *utf8,
if (gsm_encoded == NULL) {
gsize converted;
ucs2_encoded = g_convert(utf8, -1, "UCS-2BE//TRANSLIT", "UTF-8",
ucs2_encoded = g_convert(utf8, -1, "UTF-16BE//TRANSLIT", "UTF-8",
NULL, &converted, NULL);
written = converted;
}