The way you get %2520 is when. If you look at rfc 3986 appendix a, you will see that space is simply not mentioned anywhere in the grammar for defining a url. The common space character is encoded as %20 as you noted yourself.
I20 deadly crash in Conyers, GSP says
Sometimes the spaces get url encoded to the + sign, and some other times to %20. What is the difference and why should this happen? Since it's not mentioned anywhere in the.
As the aforementioned rfc does not include any reference of encoding spaces as +, i guess using %20 is the way to go today.
A bit of explaining as to what that %2520 is : 分析如下: 根据 gb ∕ t 707―1998热轧槽钢国标,20号槽钢分为:20a;20b两种。 1、20a槽钢的标准:高:200㎜ 外宽:73㎜ 厚度:7.0㎜ 理论重量:22.637千克/米。 2、20b槽钢的标准:高:200㎜. The % character is encoded as %25. I 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.
@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.