2013-02-16 41 views
0

我想验证我的例如网站,http://validator.w3.org但我总是得到以下错误:验证不可能

Sorry, I am unable to validate this document because on line 11 it contained one or more bytes that I cannot interpret as utf-8 (in other words, the bytes found are not valid values in the specified Character Encoding). Please check both the content of the file and the character encoding indication. The error was: utf8 "\xFC" does not map to Unicode

有谁知道在哪里可以找到/摆脱错误的?

+0

您是否尝试将代码复制并粘贴到验证中?或者你能够提供一个链接到你的网站/代码? – James 2013-02-16 19:16:33

+0

是的,但我在seitenreport.de上测试了我的网站,他们在CSS中发现了56个错误。现在我想找到这些错误。我的问题:我使用Wordpress,并且有成千上万的CSS文件。验证将显示我,文件所在的位置以及问题所在的行。 – 2013-02-16 19:19:25

+0

\ xFC是ü,这是否出现在你的第11行? – chrki 2013-02-16 19:19:44

回答

0

用你最喜欢的文本编辑器打开css文件。 在那里,将编码切换为UTF8。 转到第11行,寻找奇怪的符号。 删除/替换它们。

+0

没有奇怪的符号。 – 2013-02-16 19:27:11

+0

你能否将我们链接到你的页面,以便我们可以查看或复制第5-15行以便给予更好的帮助? – James 2013-02-16 19:27:58

+0

你确定,你正在使用UTF-8模式吗? – cIph3r 2013-02-16 19:29:31