[PATCH] Support of UCS2 for SMS/USSD

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.

jolly andreas at eversberg.eu
Wed Feb 6 11:09:27 UTC 2013


Pavel Baturko wrote:
> Attached 3 patches for decoding UCS2 MT-SMS and incoming USSD.
> Main idea: convert UCS2 text to UTF-8, check if terminal supports
> UTF-8 and if yes - print, otherwise - print in hex, and notify VTY to
> check mobile log (since we can't send UTF text to VTY, if someone
> knows how to do it - please tell me).
>   
hi paval,

the patches for osmocombb look good to me, except that the UTF encoded
text is not only displayed on VTY, but also not written to sms.txt file.
look at gsm340_rx_sms_deliver() where linefeeds from sms-text are
removed for the vty output. you could also remove (or replace by '?')
non-ascii characters there. then it can be displayed on VTY too.

you can apply the osmocombb patches, after the libosmocore patch is
applied to master of libosmocore. for applying the libosmocore patch, i
cannot give green light, because holger was recently working on sms
code, so i would ask him.

regards,

andreas





More information about the baseband-devel mailing list