---
title: "@ResponseBody 乱码问题"
author: "augustcoco"
date: "2014-12-03T09:22:35Z"
tags: []
categories: ["编程语言"]
slug: "responsebody"
draft: false
lastmod: "2014-12-03T09:22:35Z"
id: 2162774
url: "https://augustcoco.iteye.com/blog/2162774"
---

在异步与后台交互时，经常会出现乱码问题，解决方法：
在controller中return new String(result.toString().getBytes(), "ISO-8859-1");
解决乱码问题