banner
RustyNail

RustyNail

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

spring-ajax请求中文乱码

简单粗暴的解决方法#

直接把获得参数转码成 utf-8

style = new String(style.getBytes("iso-8859-1"),"utf-8");
読み込み中...
文章は、創作者によって署名され、ブロックチェーンに安全に保存されています。