Display Special Characters in Drupal Forms API I have a variable fetch from database which contains special character ñ. For Example:

$student = 'Evangeline O. MontañO';
$student = 'Rosalyn G. QuiñO';


Displaying it in my form causes ajax error, but when I use check_plain function it returns an empty string and no ajax error occur. How can I display a variable with special characters on it without causing ajax error?
I suspect you need to add &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; into html.tpl.php in your theme. This isn't an issue with Drupal, but your browser not recognising the UTF8 characters.