[PATCH] Decoding UCS2 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/.

Holger Hans Peter Freyther holger at freyther.de
Sat Sep 22 09:57:47 UTC 2012


On Wed, Sep 19, 2012 at 09:49:29PM +0000, Pavel Baturko wrote:
> Thanks for advises! New version: if received text in UCS2, convert it to
> UTF-8, then check if console supports UTF-8, if yes - print message in vty
> as usual, if not - print message in hex.

Hi Pavel,

thanks for updating the patch. Could you remove the calls to setlocale and
move the actual ucs->utf8 folding into a new subroutine.

thanks

	holger





More information about the baseband-devel mailing list