text-utf8 <text> \ [ status <status> ] \ [ error-text <error text> ]Copied!
// Unicode value to encode to UTF8 set-string txt = "\u0459\\\"Doc\\\"\\n\\t\\b\\f\\r\\t\\u21d7\\u21d8\\t\\u25b7\\u25ee\\uD834\\uDD1E\\u13eb\\u2ca0\\u0448\\n\\/\\\"()\\t" // Convert to UTF8 text-utf8 txt status txt_status error-text txt_error // Expected UTF8 result set-string utf8 = "љ\"Doc\"\n\t\b\f\r\t⇗⇘\t▷◮𝄞ᏫⲠш\n/\"()\t" // Make sure conversion was successful if-true utf8 not-equal txt or txt_status not-equal GG_OKAY or txt_error not-equal "" @Error in converting string to UTF8 end-ifCopied!