Failure converting from UTF-16 in "Get Operator Name" response
Running qmicli 1.28.6, the --nas-get-operator-name command is failing as follows:
$ sudo qmicli -d /dev/cdc-wdm0 -p --nas-get-operator-name
[/dev/cdc-wdm0] Successfully got operator name data
(qmicli:18755): GLib-CRITICAL **: 01:03:02.761: g_utf16_to_utf8: assertion 'str != NULL' failed
NITZ information:
Long Name: '伀瀀攀渀㔀䜀匀'
Short Name: ''
Country: 'initials-do-not-add'
Full debug log attached.20210708-get-operator-name.txt
The relevant TLV is:
<<<<<< TLV:
<<<<<< type = "NITZ Information" (0x14)
<<<<<< length = 20
<<<<<< value = 01:00:00:00:0E:00:4F:00:70:00:65:00:6E:00:35:00:47:00:53:00
<<<<<< translated = [ name_encoding = 'ucs2le' short_country_initials = 'initials-do-not-add' long_name_spare_bits = 'unknown' short_name_spare_bits = 'unknown' long_name = '{ [0] = '0 ' [1] = '79 ' [2] = '0 ' [3] = '112 ' [4] = '0 ' [5] = '101 ' [6] = '0 ' [7] = '110 ' [8] = '0 ' [9] = '53 ' [10] = '0 ' [11] = '71 ' [12] = '0 ' [13] = '83 '}' short_name = '{}' ]