Charset Conversion Utility
Type some words into the top text area. Then click on the convert button to see the results dispalyed in the bottom textarea. Click on the "Highlight Results" button to highlight the results so you can copy and paste the numbers into your application. Clicking on the clear button clears both the top and bottom textareas.
One use for these numbers is to hide your email address on your page. This way, advertisers using spambots , that extract email addresses from HTML pages, can't find it. Don't worry your browser will be able to read it just fine.
HIGHLIGHT THE SOURCE CODE BELOW
<html>
<head>
<title>Charset Conversion Utility</title>
<style type="text/css">
input.off {background:darkblue; color:white;}
input.on {background:white; color:black;}
</style>
<script>
//bil642@webtv.com
function translate(form) {
letters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789!\"#%&\'\(\),-./\\:;<=>@_{}~ "; morse = new Array( "a","b","c","d",
"e","f","g","h", "i","j","k","l", "m","n","o","p", "q","r","s","t",
"u","v","w","x",
"y","z","A","B",
"C","D","E","F",
"G","H","I","J",
"K","L","M","N",
"O","P","Q","R",
"S","T","U","V",
"W","X","Y","Z",
" ","0","1","2",
"3","4","5","6",
"7","8","9","!",
""","#","%","&",
"'","(",")",",",
"-",".","/","\",
":",";","<","=",
">","@","_","{",
"}","~"," ");
form.output.value = "";
var input = form.input.value;
output = "";
for(count = 0; count < input.length; count++) {
daChar = input.charAt(count);
for (i = 0; i < letters.length; i++) {
if (daChar == letters.charAt(i)) {
output += morse[i];
break;
}
}
}
form.output.value = output;
}
</script>
</head>
<body bgcolor="white" link="blue" vlink="red" text="black">
<center>
<form>
<br><br>
<font size="5" color="black"><b>Charset Conversion Utility</b></font>
<br><br>
<textarea name="input" rows="3" cols="48" value="" wrap="physical"></textarea>
<hr width="60%">
<textarea name="output" rows="6" cols="48" value="" wrap="physical"></textarea><br>
<input type="button" class="off" onmouseover="this.className=('on')" onmouseout="this.className=('off')" value="Convert" onclick="translate(this.form)" title="Click to convert characters in top textarea into character numbers in bottom textarea.">
<input type="reset" class="off" onmouseover="this.className=('on')" onmouseout="this.className=('off')" value="Clear" title="Click to clear both top and bottom textareas.">
<input type="button" class="off" onmouseover="this.className=('on')" onmouseout="this.className=('off')" value="Highlight Results" onclick="javascript:this.form.output.focus();this.form.output.select();" title="Click to highlight character numbers in bottom textarea.">
</form>
</center>
</body>
</html>
<<< Back
Home Page This Page Was Last Updated: