banner
RustyNail

RustyNail

coder. 【blog】https://rustynail.me 【nostr】wss://ts.relays.world/ wss://relays.world/nostr

Chinese garbled code in spring-ajax requests

Simple and rude solution#

Directly convert the obtained parameter into UTF-8 encoding.

style = new String(style.getBytes("iso-8859-1"),"utf-8");
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.