---
title: "ajax 中文乱码问题"
author: "leyoo"
date: "2011-03-10T11:30:12Z"
tags: []
categories: ["编程语言"]
slug: "ajax"
draft: false
lastmod: "2011-03-10T11:30:12Z"
id: 951923
url: "https://leyoo.iteye.com/blog/951923"
---

客户端:
url = encodeURI(encodeURI(url));

服务器端：
java.net.URLDecoder.decode(request.getParameter("SQCXYY"),"UTF-8");