Url query encoding/decoding
Hello, I have been developing a simple server that can recv some data via POST method, but there's something that I can't get clear, referent to url encoding/decoding. On a script about 'ISO-8859-1 (ISO-Latin) Character Set Encoding - Decoding' says (that's only a line, if someone want's to take a look at the entire script I can post it)
That means from ascii 32 to 47 are unsafe characters that should be encoded on the before send and should be decoded after received. Ok.
32-47 -> Reserved Characters -> ' '!?#$%&'()*+,-./ -> Unsafe
My question is about the '+' character and the url query. That last script also explains de encode/decode keys, that for '+' is
If the browsers follow those codecoding rules, why my nsn7 sends something like that?
+ Indicates a space (spaces cannot be used in a URL) %20
As says the rules, doesn't it should send 'my%20name' to encode 'my name'? or is that the query is encoded using another rules? I suppose that no because all other (well, I haven't tested all the unsafe characters) are encoded using those rules; but why the space character is encoded using an unsafe character instead it's hex equivalent?
Thank's in advance