Why are the four question marks turned into a mess when using ajax to send data?

use ajax to send data to background php
js data is like this: "msg": "?"
data displayed by network: "msg": "jQuery111108806776373880372_1542186674690?"
Why my msg data has become such a mess. Solve?

Nov.19,2021

encodeURIComponent ('?')

Menu