Home > Article > Web Front-end > How to deal with & characters in postdata_html/css_WEB-ITnose
I use webbrowser in c#. Everything in postdata is in English. I prepare postdata such as "a=b&c=d" and then encode it and pass it to the navigation function. Everything is normal.
Now I find that there is an & character in the middle of a certain value. For example, the value of a is "m&n". How should I deal with the & here, such as "a='m&n'&c=d"? I I feel that this is not yet in the coding process, and the methods for dealing with it in the coding stage that I found online are useless.
Convert to & is not possible?
I haven’t tried using "a=m&n&c=d" directly, and then calling the encoding function. I will try it when I go back. Thank you.
ps: I caught the m&n here using httpwatch