Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit cc2d112

Browse files
author
livecodesam
committed
[Bugfix-22340] Add note about non-ASCII chars to URLEncode entry
1 parent adf7d78 commit cc2d112

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

docs/dictionary/function/URLEncode.lcdoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,13 @@ appears in the formString, it is converted to "%7E".
6262
return pString
6363
end urlEncodeRFC
6464

65+
>*Note:* Non-ASCII characters, such as Unicode, that appear in the string
66+
> to be encoded must first be encoded as UTF-8 (as per standard
67+
> convention), requiring the use of the <textEncode> <function(glossary)>.
68+
> The code example given above can perform this task.
69+
6570
References: post (command), function (control structure),
71+
textEncode (function), function (glossary),
6672
hexadecimal (glossary), encode (glossary), ASCII (glossary),
6773
return (glossary), server (glossary), URL (keyword),
6874
character (keyword), http (keyword), string (keyword)

docs/notes/bugfix-22340.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Added a note to the URLEncode entry that non-ASCII input must have first been put through textEncode

0 commit comments

Comments
 (0)