ÿþ<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html dir='ltr' lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'> <head> <meta name="Copyright" content="Unless otherwise stated on a page, the contents of this site, including but not limited to the text, graphics, sounds and scripts contained herein, were created by and are the sole property of Tracey R. Rich. The contents of this site may be reproduced for personal, educational or non-commercial use, but may NOT be reproduced on other websites."/> <meta name="description" content="Allows you to type Hebrew characters"/> <meta name="ROBOTS" content="NOINDEX, NOFOLLOW" /> <meta name="viewport" content="width=device-width" /> <title>Judaism 101: Hebrew Typewriter</title> <link rel="stylesheet" href="jewfaq.css"/> <link rel="image_src" type="image/jpeg" href="http://www.jewfaq.org/graphics/md3.gif"/> <script type="text/javascript" language="javascript"> E2H = new Array; E2H[92] = 1488; E2H[98] = 1489; E2H[103] = 1490; E2H[100] = 1491; E2H[104] = 1492; E2H[118] = 1493; E2H[122] = 1494; E2H[99] = 1495; E2H[84] = 1496; E2H[121] = 1497; E2H[75] = 1498; E2H[107] = 1499; E2H[108] = 1500; E2H[77] = 1501; E2H[109] = 1502; E2H[78] = 1503; E2H[110] = 1504; E2H[115] = 1505; E2H[47] = 1506; E2H[80] = 1507; E2H[112] = 1508; E2H[88] = 1509; E2H[120] = 1510; E2H[113] = 1511; E2H[114] = 1512; E2H[119] = 1513; E2H[116] = 1514; E2H[105] = 1456; // i = sheva E2H[59] = 1457; // ; = half segol E2H[58] = 1458; // : = half patach E2H[126] = 1459; // ~ = half qametz E2H[73] = 1460; // I = chireq E2H[69] = 1461; // E = tseirei E2H[101] = 1462; // e = segol E2H[97] = 1463; // a = patach E2H[65] = 1464; // A = qametz E2H[111] = 1465; // o = holem //E2H[79] = 1466; // dot on vav E2H[117] = 1467; // u = qibbus E2H[42] = 1468; // * = dagesh E2H[62] = 1473; // > = shin dot E2H[60] = 1474; // < = sin dot Converted = false; function IEConvert(event) { Converted = false; if (event.keyCode) { Keycode = event.keyCode; if (E2H[Keycode] > 0) { event.keyCode = E2H[Keycode]; if (event.keyCode == E2H[Keycode]) { Converted = true; } } } } function Convert(box) { if (Converted && document.getElementById("Direction").value == "0") { return; } if (Converted) { if (box.selectionStart) { box.selectionStart = box.selectionStart - 1; } else { var range = box.createTextRange(); range.collapse(true); range.moveEnd('character', 0); range.moveStart('character', 0); range.select(); } return; } if(box.selectionEnd > -1) { Keycode = box.value.charCodeAt(box.selectionStart - 1); if (E2H[Keycode] > 0) { Pointer = box.selectionEnd; if (document.getElementById("Direction").value == "1") { Pointer = Pointer - 1; } HebChar = String.fromCharCode(E2H[Keycode]) Keycode = E2H[Keycode].fromCharCode; Result = box.value.substring(0, box.selectionEnd - 1); Result += HebChar; Result += box.value.substring(box.selectionEnd) box.value = Result; box.selectionStart = Pointer; box.selectionEnd = Pointer; } } } function HTMLize() { Heb = document.getElementById("Result"); Converted = ""; for (Ctr = 0; Ctr < Heb.value.length; Ctr++) { if (Heb.value.charCodeAt(Ctr) > 255) { Converted = Converted + "&#x" + Heb.value.charCodeAt(Ctr).toString(16) + ";" ; } else { Converted = Converted + Heb.value.charAt(Ctr); } } Heb.value = "<span lang=\"he\" dir=\"rtl\" xml:lang=\"he\">" + Converted + "</span>"; } function Reverse() { Heb = document.getElementById("Result"); Order = document.getElementById("Direction"); Reversed = ""; for (Ctr = 0; Ctr < Heb.value.length; Ctr++) { Reversed = Heb.value.charAt(Ctr) + Reversed; } Heb.value = Reversed; Order.value = (Number(Order.value) + 1) % 2 } </script> </head> <body> <p/> <table align="center" cellpadding="10" cellspacing="0" width="95%"> <tr> <td valign="top" bgcolor="#FFEECC" > <a href="alephbet.htm">&lt;= Back To Hebrew Alphabet</a> <table cellpadding="5" width="100%"> <tr valign="top"> <td> Typed Value = Hebrew <table cellpadding="5" border="1" width="300"> <tr valign="top"> <td width="25%"> <font face="Times New Roman" size="+1"> \ = <span style="float: right;">&#x5d0;</span><br/> b = <span style="float: right;">&#x5d1;</span><br/> g = <span style="float: right;">&#x5d2</span><br/> d = <span style="float: right;">&#x5d3;</span><br/> h = <span style="float: right;">&#x5d4;</span><br/> v = <span style="float: right;">&#x5d5;</span><br/> vo = <span style="float: right;">&#x5d5;&#x5b9;</span><br/> v* = <span style="float: right;">&#x5d5;&#x5bc;</span><br/> z = <span style="float: right;">&#x5d6;</span><br/> c = <span style="float: right;">&#x5d7;</span> </font> </td> <td width="25%"> <font face="Times New Roman" size="+1"> T = <span style="float: right;">&#x5d8;</span><br/> y = <span style="float: right;">&#x5d9;</span><br/> k = <span style="float: right;">&#x5db;</span><br/> K = <span style="float: right;">&#x5da;</span><br/> l = <span style="float: right;">&#x5dc;</span><br/> m = <span style="float: right;">&#x5de;</span><br/> M = <span style="float: right;">&#x5dd;</span><br/> n = <span style="float: right;">&#x5e0;</span><br/> N = <span style="float: right;">&#x5df;</span><br/> s = <span style="float: right;">&#x5e1;</span> </font> </td> <td width="25%"> <font face="Times New Roman" size="+1"> / = <span style="float: right;">&#x5e2;</span><br/> p = <span style="float: right;">&#x5e4;</span><br/> P = <span style="float: right;">&#x5e3;</span><br/> x = <span style="float: right;">&#x5e6;</span><br/> X = <span style="float: right;">&#x5e5;</span><br/> q = <span style="float: right;">&#x5e7;</span><br/> r = <span style="float: right;">&#x5e8;</span><br/> w&gt; = <span style="float: right;">&#x5e9;&#x5c1;</span><br/> w&lt; = <span style="float: right;">&#x5e9;&#x5c2;</span><br/> t = <span style="float: right;">&#x5ea;</span> </font> </td> <td width="25%"> <font face="Times New Roman" size="+1"> a = <span style="float: right;">&#x5d0;&#x5b7;</span><br/> A = <span style="float: right;">&#x5d0;&#x5b8;</span><br/> e = <span style="float: right;">&#x5d0;&#x5b6;</span><br/> I = <span style="float: right;">&#x5d0;&#x5b4;</span><br/> E = <span style="float: right;">&#x5d0;&#x5b5;</span><br/> o = <span style="float: right;">&#x5d0;&#x5b9;</span><br/> u = <span style="float: right;">&#x5d0;&#x5bb;</span><br/> i = <span style="float: right;">&#x5d0;&#x5b0;</span><br/> : = <span style="float: right;">&#x5d0;&#x5b2;</span><br/> ~ = <span style="float: right;">&#x5d0;&#x5b3;</span><br/> ; = <span style="float: right;">&#x5d0;&#x5b1;</span> </font> </td> </tr> <tr> <td colspan="4"> <font face="Times New Roman" size=+1>&#x5bc; (dagesh) = * &nbsp; &nbsp; &nbsp; b* = &#x5d1;&#x5bc;, g* = &#x5d2;&#x5bc;, etc.</font> </td></tr></table></td> <td align="right"> <table> <tr><td align="left">Type slowly!</td></tr> <tr> <td align="left"> <select id="Direction"> <option value="0">Right To Left</option> <option value="1">Left To Right</option> </select> </td><td align="center"> <input type="button" value="Clear" onclick="document.getElementById('Result').value = '';"/> </td><td align="center"> <input type="button" value="HTMLize" onclick="HTMLize()"/> </td><td align="right"> <input type="button" value="Reverse It" onclick="Reverse();"/> </td></tr> <tr><td colspan="4"> <textarea onkeypress="IEConvert(event)" onkeyup="Convert(this);" name="Result" id="Result" dir="rtl" rows="10" cols="55" autocorrect="off" style="font-family: Times; font-size: 18pt; text-align: right;"></textarea> </td></tr></table> </td> </tr> </td> </tr> </table> </body> </html>