如果您的目标是国际化,是否存在一个网站服务或一组脚本可以告诉您您的网页是否配置错误?

更准确地说,我想知道是否存在这样的东西:

Checking URL: http://www.example.com
GET / HTTP/1.0
Accept-Charset: utf8
...

HTTP/1.0 200 OK
Charset: iso-8859-1
..<?xml version="1.0" charset="utf8" ?>

WARNING: Header document conflict, your server claims to return iso-8859-1, but
includes octet values outside the legal range.  This can happen when your documents
are saved with a different character set than your web server is configured to serve.

据我了解,这不太可能帮助我创建一个允许人们用日语或希伯来语发帖的网站,但它可能能够帮助我的英语网站吸引更多的国际受众。

有帮助吗?

解决方案

我相信 W3C 验证器 确实如此,但可能达不到您想要的程度......

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top