If 20 Students Can Clean Their Classroom In 3 Hours, Then How Long Will It Take 15 Students To Clean The Same Classroom?
Oct 27, 2009as the aforementioned rfc does not include any reference of encoding spaces as +, i guess using %20 is the way to go today. For example, "%20" is the percent-encoding for the binary. @metabyter i think it is more technically correct to phrase the question as "in a url, should i encode the spaces using %20 or + in the query part of a url?" because while the example you show.
Sometimes the spaces get url encoded to the + sign, and some other times to %20. What is the difference and why should this happen? The common space character is encoded as %20 as you noted yourself.
The % character is encoded as %25. Dec 14, 2019i am interested in knowing why '%20' is used as a space in urls, particularly why %20 was used and why we even need it in the first place. Since it's not mentioned anywhere in the grammar, the only way to encode a space is with percent-encoding (%20).
In fact, the rfc even states that spaces are delimiters and should be ignored: Oct 4, 2009how do i replace all the spaces with %20 in c#?