Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/dictionary/function/URLEncode.lcdoc
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,13 @@ appears in the formString, it is converted to "%7E".
return pString
end urlEncodeRFC

>*Note:* Non-ASCII characters, such as Unicode, that appear in the string
> to be encoded must first be encoded as UTF-8 (as per standard
> convention), requiring the use of the <textEncode> <function(glossary)>.
> The code example given above can perform this task.

References: post (command), function (control structure),
textEncode (function), function (glossary),
hexadecimal (glossary), encode (glossary), ASCII (glossary),
return (glossary), server (glossary), URL (keyword),
character (keyword), http (keyword), string (keyword)
Expand Down
1 change: 1 addition & 0 deletions docs/notes/bugfix-22340.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Added a note to the URLEncode entry that non-ASCII input must have first been put through textEncode