@@ -41,13 +41,25 @@ the next two characters as <hexadecimal> digits. (If one of the
4141number is converted to its <character> equivalent, using the
4242<character set> currently in use.
4343
44+ >*Note:* Non-ASCII characters, such as Unicode, that appear in the URL
45+ > string to be decoded will have been encoded as UTF-8 (as per standard
46+ > convention) and thus require the use of the <textDecode> <function>
47+ > after urlDecode. For example, the following code:
48+
49+ local tEncodedText
50+ put "%D1%81%D0%BA%D0%BE%D1%80%D0%BE%D1%81%D1%88%D0%B8%D0" & \
51+ "%B2%D0%B0%D1%82%D0%B5%D0%BB%D1%8C" into tCodedText
52+ put textDecode(urlDecode(tEncodedText),"UTF-8")
53+
54+ > produces the word "скоросшиватель".
55+
4456References: post (command), function (control structure),
4557decompress (function), macToISO (function), arrayDecode (function),
46- charToNum (function), baseConvert (function), decode (glossary ),
47- return (glossary), sign (glossary), encode (glossary),
58+ charToNum (function), baseConvert (function), textDecode (function ),
59+ decode (glossary), return (glossary), sign (glossary), encode (glossary),
4860character set (glossary), hexadecimal (glossary), server (glossary),
49- URL (keyword ), characters (keyword), character (keyword), http (keyword),
50- httpHeaders (property)
61+ function (glossary ), URL (keyword), characters (keyword),
62+ character (keyword), http (keyword), httpHeaders (property)
5163
5264Tags: networking
5365
0 commit comments