From 54a43a6d381322faed222100d23d18d27eeb8be5 Mon Sep 17 00:00:00 2001 From: "Sakthipriyan Vairamani (thefourtheye)" Date: Sun, 1 Oct 2017 07:33:06 +0530 Subject: [PATCH] doc: change encoding to decoding As per the example, `querystring.parse` actually does URL decoding, not encoding. PR-URL: https://github.com/nodejs/node/pull/15706 Reviewed-By: Timothy Gu Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Anna Henningsen Reviewed-By: Colin Ihrig Reviewed-By: Yuta Hiroto --- doc/api/deprecations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 8d6dbd347daab2..57ad859f2533da 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -644,7 +644,7 @@ querystring.parse(str, '\n', '='); ``` *Note*: This function is not completely equivalent to `querystring.parse()`. One -difference is that `querystring.parse()` does url encoding: +difference is that `querystring.parse()` does url decoding: ```sh > querystring.parse('%E5%A5%BD=1', '\n', '=');