smsutil: Fix issue in mwi dcs decoding

This commit is contained in:
Jeevaka Badrappan 2010-12-02 01:43:27 -08:00 committed by Denis Kenzior
parent 88ef20591c
commit ef785f9373
1 changed files with 6 additions and 1 deletions

View File

@ -219,7 +219,12 @@ gboolean sms_mwi_dcs_decode(guint8 dcs, enum sms_mwi_type *type,
else
dis = FALSE;
if (upper == 3)
/*
* As per 3GPP TS 23.038 specification, if bits 7..4 set to 1110,
* text included in the user data is coded in the uncompresssed
* UCS2 character set.
*/
if (upper == 2)
ch = SMS_CHARSET_UCS2;
else
ch = SMS_CHARSET_7BIT;