---
title: "记录下"
author: "xldbk"
date: "2011-04-08T14:49:14Z"
tags: []
categories: ["Web前端"]
slug: "untitled"
draft: false
lastmod: "2011-04-09T11:12:29Z"
id: 992956
url: "https://xldbk.iteye.com/blog/992956"
---

js中处理中文乱码 嵌入的时候

&lt;script type="text/javascript" src="test.js" charset="gb2312"/&gt;

可添加 charset="gb2312"