FreeCalypso > hg > freecalypso-tools
diff uptools/atcmd/smsend_multmain.c @ 967:6bf473f77fc4
fcup-smsend: support backslash escapes in UCS-2 mode too
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 01 Sep 2023 16:43:35 +0000 |
parents | ec7e23d5151f |
children | ec736c59845c |
line wrap: on
line diff
--- a/uptools/atcmd/smsend_multmain.c Fri Sep 01 15:44:52 2023 +0000 +++ b/uptools/atcmd/smsend_multmain.c Fri Sep 01 16:43:35 2023 +0000 @@ -162,7 +162,7 @@ unsigned msgtext_unilen; int rc; - rc = utf8_to_ucs2(msgtext, msgtext_uni, 70, &msgtext_unilen); + rc = utf8_to_ucs2(msgtext, msgtext_uni, 70, &msgtext_unilen, 0); if (rc == -1) { fprintf(stderr, "input line %d: invalid UTF-8 message\n", lineno);