在 XSL 中引入外部 CSS/JS/VBS 时, 如果 被引入的文件内含有中文, 则会变为乱码的解决方法!

类别:.NET开发 点击:0 评论:0 推荐:
<?xml version="1.0" encoding="gb2312" standalone="yes"?>
<xsl:stylesheet version="1.0" xmlns:xsl="
http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" indent="yes" />
<xsl:template match="/">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312" />
<title></title>
<script src=“xxx.js“ language=“javascript“ charset=“GB2312“></script>
</head>
...............
</xsl:template>
</xsl:stylesheet>

本文地址:http://com.8s8s.com/it/it43531.htm