Liste des Groupes | Revenir à cl c |
Il 24/02/2025 21:13, Lawrence D'Oliveiro ha scritto:Are you sure it is UCS2 and not UTF-16?On Mon, 24 Feb 2025 16:57:24 +0100, pozz wrote:Sincereley I don't know why and when, but the LTE modem I'm using (Simcom A7672E) replies to AT+CMGR in two different format:
>Il 22/02/2025 14:18, David Brown ha scritto:>>Exactly. This is the reply to AT+CMGR command that is standardized in
My understanding here is that the OP is getting the UCS-2 encoded
string in from a modem, almost certainly on a serial line. The UCS-2
encoded data is itself a binary sequence of 16-bit code units, and the
modem firmware is sending those as four hex digits.
>
3GPP TS 27.005.
Anything that is specifying the use of UCS-2 encoding automatically dates
itself to about the early-to-mid 1990s.
- what is described as GSM 7-bit alphabet (but it's really UTF-8 when non ASCII chas are present)
- UCS2
Of course, in the header, it specifies the <dcs> (data coding scheme) so the receiver on the UART can interpret correctly all the data.
Les messages affichés proviennent d'usenet.