According to https://en.wikipedia.org/wiki/Percent-encoding,
The generic URI syntax mandates that new URI schemes that provide for the representation of character data in a URI must, in effect, represent characters from the unreserved set without translation, and should convert all other characters to bytes according to UTF-8, and then percent-encode those values.
Since you have not used a space " "
but a nonbreaking-space " "
(\u00a0
) it is only natural that it got encoded as two bytes, %c2%a0
.
The problem lies in that on the receiving end of this it doesn't decode correctly as two spaces, but as some other strange characters.
Yup. Fix the decoding.