代码页 65001 和 utf-8 是一回事吗? [英] Is codepage 65001 and utf-8 the same thing?

查看:65
本文介绍了代码页 65001 和 utf-8 是一回事吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!--#include file="conn.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

上面的代码对吗?

推荐答案

是的.

UTF-8 在 Windows 中是 CP65001(这只是在旧代码页内容中指定 UTF-8 的一种方式).据我所知,当以这种方式指定时,ASP 可以处理 UTF-8.

UTF-8 is CP65001 in Windows (which is just a way of specifying UTF-8 in the legacy codepage stuff). As far as I read ASP can handle UTF-8 when specified that way.

这篇关于代码页 65001 和 utf-8 是一回事吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆