Validator Issue (Wierd Symbols)

W3C:
 
I am running into problems, occasionally, when I try to validate news added to this website.
Is there something wrong with the validator or the source code?
Also, sometimes the reported error changes to question marks instead of blocks.
 
Website:
https://security.okstate.edu/sso/index.php

 
http://validator.w3.org/check?uri=https%3A%2F%2Fjanus-mgt.it.okstate.edu%2Fsso%2F&charset=%28detect+automatically%29&doctype=%28detect+automatically%29&ss=1

 
 
Problem:
The page index.php will not validate occasionally due to weird encoding type errors. I do not see any problem with the page where the error is stated. The page views correctly in Opera/Mozilla/IE.
 
 
 
-----------------------------------------------------------------------------------------------
 
Reported Error:
Line 354, column 31: non SGML character number 146
 
Does this finally clear up eEye��s outstanding advisory???<br />
 
Source:
 
352: <br />
353: Affected Software: Win2K (SP3 & 4), WinXP (SP1 & 2), WinXP64-bit (SP1), WinXP64-bit (2003), WinServer2003 and WinServer2003 for Itanium. Folks on Win98, Win98SE and WinME are in the clear. Win95 is probably also OK, but is currently not supported.<br />
354: Does this finally clear up eEye’s outstanding advisory???<br />
355: http://www.eeye.com/html/research/upcoming/index.html<br />
356: <br />
-----------------------------------------------------------------------------------------------
 
 
 
 
PHP encoding:
$asdf=nl2br($_POST['content']);
       $asdf=htmlentities($asdf, ENT_QUOTES);
            $row[Message]=$asdf;
For decoding of the message:
            html_entity_decode($row[Message], ENT_QUOTES)
Please Respond,
 
 
__________________________
Alex Everett
Oklahoma State University
IT Systems Security
405.744.7858
__________________________
 
6aeb68d1bdff2c5e503eed93c51dd74d
 
Important Notice: This email is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offense. Please delete if obtained in error and email confirmation to the sender.
 

Received on Wednesday, 9 February 2005 00:26:34 UTC