French HTML Chars and Prototype
This is a starting place.
by mrchief
HTML
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="">
<meta name="author" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div id="container">
<header></header>
<div id="main" role="main">
<textarea rows="40" cols="40" id="output"></textarea>
</div>
<footer></footer>
</div>
</body>
</html>
JavaScript
var strs = [
'&',
'<',
'>',
'À',
'Â',
'Ä',
'È',
'É',
'Ê',
'Ë',
'Î',
'Ï',
'Ô',
'Œ',
'Ù',
'Û',
'Ü',
'Ÿ',
'à',
'â',
'ä',
'è',
'é',
'ê',
'ë',
'î',
'ï',
'ô',
'œ',
'ù',
'û',
'ü',
'ÿ',
'Ç',
'ç',
'«',
'»',
'‹',
'›',
'€'];
for(var i = 0; i < strs.length; i++) {
document.getElementById("output").innerHTML += "\n" + decode(strs[i]);
}
function decode(str) {
var div = document.createElement('div');
div.innerHTML = str;
return div.innerHTML;
}