diff --git a/docs/dictionary/function/URLEncode.lcdoc b/docs/dictionary/function/URLEncode.lcdoc index 912ef36e91f..127bfe8ecdf 100644 --- a/docs/dictionary/function/URLEncode.lcdoc +++ b/docs/dictionary/function/URLEncode.lcdoc @@ -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 . +> 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) diff --git a/docs/notes/bugfix-22340.md b/docs/notes/bugfix-22340.md new file mode 100644 index 00000000000..7274bc3a6d7 --- /dev/null +++ b/docs/notes/bugfix-22340.md @@ -0,0 +1 @@ +# Added a note to the URLEncode entry that non-ASCII input must have first been put through textEncode