From 886554208f3c6233c9c09759cf79491fc2b90397 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 d0754285a4f6e4..257b5afb65b4e4 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -675,7 +675,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', '=');