@RequestMapping(value="/abc",method=RequestMethod.POST,produces = {"application/json;charset=UTF-8"}) 这样就好了
后台传个json到前台去老是中文乱码
精选 转载
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
一个简洁、干净的中后台管理模板
nova-admin —— 一个基于Vue3、Vite5、Typescript、Naive UI, 简洁干净后台管理模板。
后台管理 后台管理模板 vue node.js npm -
有趣的CSS - 一串乱码
通过 css 来实现一段不停变化的 bug 乱码效果。
css 动效 乱码效果 ux 动画 -
前台传参到后台中文乱码解决方法
解决前端传参到后台的字符集编码问题!!!两种方式
编码问题 字符串 编码问题