[PATCH] Decoding UCS2 USSD
Holger Hans Peter Freyther
holger at freyther.de
Wed Sep 19 01:02:48 UTC 2012
On Tue, Sep 18, 2012 at 08:44:27PM +0000, Pavel Baturko wrote:
> I create patch with added decoding of UCS2 USSD messages.
> Text in UCS2 is printed on 'mobile' console and status is sent to vty since
> there is no support of wide characters in vty.
> Added constants to decode GSM 7bit text when DCS is specified as 0x00, 0x01.
> I tested it with Russian language with several providers and all works ok.
thanks a lot for your patch. I think a library should not call setlocale
as it will impact the entire application. I think our only other realistic
option is to use iconv (and stub it out for osmocomBB). Do you think you
could try to create such a patch?
More information about the baseband-devel