banner
RustyNail

RustyNail

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

Chinese garbled characters in Spring AJAX requests

Simple and straightforward solution#

Directly convert the obtained parameters to utf-8

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.