C3 21 C3 23???
this is correct urlencoded string…
campa%C3%B1a%20y%20acci%C3%B3n
ñ = \C3\B1 and ó = \C3\B3
C3 21 = ! and C3 23 = #
I not remember the 2021 version (now deleted), but I have already done URLencode for UTF-8 some days ago…
http://forum.mikrotik.com/t/rextended-fragments-of-snippets/151033/1
If you have “campaña y acción” you can use directly ASCIItoCP1252toURLencode
If you have the SMS value readed directly by AT commands and converted to UCS-2 string,
“campaña y acción” = \00c\00a\00m\00p\00a\00\F1\00a\00\20\00y\00\20\00a\00c\00c\00i\00\F3\00n
(obviously I have alrady converted standard letters on “c-a-m-p…”)
ñ = \00\F1 ó = \00\F3
At this point you convert the UCS-2 string with testUCS2toUTF8 and pass the results to UTF8toURLencode to obtain the URL/GET/POST string for fetch.