Russian Alphabet (CP1251 encoded)

Now you too can be cool and type with Russian characters for your writeups on all things Tolstoy and such. All you need is the following little code snippet and a browser that can interpret it.

The code below will produce a page with a textbox and the Russian alphabet. Click the letters to insert the correct HTML character codes in the box. You can remove codes and insert punctuation or regular text by simply editing directly in the box. When you're done, copy the result from the box and paste right into your node. Easier than walking!

<html>
<head><title>CP1251 HTMLizer</title></head>
<body>
<script type="text/javascript">
   function writelink(i) {
      document.write("<a href=");
      document.write(String.fromCharCode(34));
      document.write("javascript:document.result.code.value=");
      document.write("document.result.code.value + '&amp;#");
      document.write(i);
      document.write(";';void('');");
      document.write(String.fromCharCode(34));
      document.write(">");
      document.write(String.fromCharCode(i));
      document.write("</a> ")
   }

   document.write("<form name='result'>");
   document.write("<input type='text' name='code' size='40'>");
   document.write("</form><br><big><kbd>");
   for (var i = 1040; i < 1056; i++) { writelink(i) }
   document.write("<br>")
   for (var i = 1072; i < 1088; i++) { writelink(i) }
   document.write("<br><br>")
   for (var i = 1056; i < 1072; i++){ writelink(i) }
   document.write("<br>")
   for (var i = 1088; i < 1104; i++){ writelink(i) }
   document.write("</kbd></big>");
</script>
</body>
</html>