- 締切済み
w3cの検証エラー?
サーバーにアップしてあるサイトからw3cのチェックすると下記のようなエラーが出ます。 Sorry! This document can not be checked. Result: Failed validation Address: http://www.hogehoge.com/ Encoding: euc-jp Doctype: Sorry, I am unable to validate this document because on line 179 it contained one or more bytes that I cannot interpret as euc-jp (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: euc-jp "\x83" does not map to Unicode 何が原因なのか全くわかりませんがどのようにしたら検証することができるようになるのでしょうか? Nucleus v3.3でサイトを作ったのでそれが原因かと思い他のNucleusで作られたサイトを見てみましたがエラーになっていませんでした。 html側には <!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" xml:lang="ja" lang="ja"> <head> <meta http-equiv="Content-Type" content="text/html; charset=EUC-JP" /> ~省略~ としています。 firefoxのhtmlをチェックする機能?ではエラーもなく判定されます。
- みんなの回答 (3)
- 専門家の回答
みんなの回答
- kazumero
- ベストアンサー率40% (20/49)
- himajin100000
- ベストアンサー率54% (1660/3060)
- imopro
- ベストアンサー率35% (58/163)