Difference between “+” and “

后端 未结 4 1834
礼貌的吻别
礼貌的吻别 2020-12-19 02:07

I am url encoding a string of text to pass along to a function. However, it encodes the second space in a double-space as \"%A0\". This means that when I decode the string

4条回答
  •  星月不相逢
    2020-12-19 02:25

    A quick Googling shows that %A0 is the non-breaking space character or   in html. A + is the form-encoding for a standard space character.

    Source

提交回复
热议问题