Utf"\x94“;php的html/xhtml表单中存在验证错误

Utf"\x94“;php的html/xhtml表单中存在验证错误,php,html,validation,Php,Html,Validation,好的,XHTML想和我一起玩一些游戏,我做得很好,直到现在。 看看下面的两个代码片段,我看不出它们有什么问题, 但是,当我尝试验证时,我得到的“错误是:utf8”\x94”没有映射到Unicode 在第91行,我对第91行进行了注释,以表示问题区域。 “对不起,这份文件无法检查”是怎么回事 是否有什么我没有看到的,因为我一直在使用相同的Doctype和验证 到现在为止还好吧 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional/

好的,XHTML想和我一起玩一些游戏,我做得很好,直到现在。 看看下面的两个代码片段,我看不出它们有什么问题, 但是,当我尝试验证时,我得到的“错误是:utf8”\x94”没有映射到Unicode 在第91行,我对第91行进行了注释,以表示问题区域。 “对不起,这份文件无法检查”是怎么回事

是否有什么我没有看到的,因为我一直在使用相同的Doctype和验证 到现在为止还好吧

<!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="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

29
30
31


我认为您的文件中可能有某种“智能报价”。用普通ASCII引号替换它们。

智能引号?普通ASCII引号?好的,只是谷歌搜索一下,谢谢你会尝试一下,在验证列车出轨之前我一直玩得很开心:-(.我把它修好了,它不是智能引号,但根据你的信息,我只是重新编写了html表单,我现在不知道它是否只是我,但如果你看看我发布的代码,对于value=“30”到“29”引号似乎颠倒了,我不知道这是怎么发生的,但我只是从html表单中复制了一个工作部分的代码,然后重新做了非工作部分,它进行了验证,我可以检查用户输入,sweet,返回php代码库。
<option value=”29”>29</option>
<option value=”30”>30</option>
<!-- Here is line 91, below, there is nothing wrong with it? -->
<option value =”31”>31</option> <!-- Line 91 WTF? I still can't validate-->
</select>
<input type = "text" name = "year"
value = "YYYY" size = "4" /> </p>
<!-- This approach gives you more control for validating and formatting the information submitted. How?
Well the user will be given a preloaded Date of Brith box with the option to select the Month, Day and Year
as opposed to having the user type in some weird or crazy stuff.
The caveat though is the fact that the html code just becomes longer and cumbersome on the eyes or coder.-->