The form above is for those (like me!) who want to avoid reading This page is not Valid HTML 4.01 Strict!
Its for times when
It works by looping each character throught a simple (but rather looooong) series of javascript IF statementsnote and replaces the non-ascii chars with 'legal' chars from the UTF-8 charset
if (curChar == "¾") {charCode = "¾";}
if (curChar == "“") {charCode = "“";}
if (curChar == "‘") {charCode = "‘";}
Unlike all other pages on this site that use UTF-8, this page uses the ISO-8859-1 charset
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
Otherwise the IF statements would always return as false!
A simple (but rather looooong) series of javascript IF statements
return to the section on javascript IF statements