|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/mandarintools/ |
Upload File : |
<HTML>
<HEAD>
<META NAME="description" CONTENT="A Chinese character dictionary with look-up by English, pinyin, Cantonese pronounciation, and radical/stroke.">
<META NAME="keywords" CONTENT="chinese character dictionary pinyin radical bushou cantonese">
<TITLE>Chinese Character Dictionary</TITLE>
<SCRIPT LANGUAGE="JavaScript1.1">
<!--
function loadPref()
{
var allcookies = document.cookie;
if (allcookies == "") return false;
var start = allcookies.indexOf("chardict=");
if (start == -1) return false;
start += "9";
var end = allcookies.indexOf(';', start);
if (end == -1) end = allcookies.length;
var cookieval = allcookies.substring(start, end);
var a = cookieval.split('&'); // break into name/value pairs
var prefhash = new Object();
for (var i=0; i < a.length; i++) {
a[i] = a[i].split(':');
prefhash[a[i][0]] = a[i][1];
}
var j;
for (j=0; j < 3; j++) {
if (prefhash["searchmode[" + j + "].checked"] == "true")
document.lookup.searchmode[j].checked = "true";
}
for (j=0; j < 4; j++) {
if (prefhash["printtype[" + j + "].checked"] == "true")
document.lookup.printtype[j].checked = "true";
}
for (j=0; j < 3; j++) {
if (prefhash["chartype[" + j + "].checked"] == "true")
document.lookup.chartype[j].checked = "true";
}
for (j=0; j < 2; j++) {
if (prefhash["ordering[" + j + "].checked"] == "true")
document.lookup.ordering[j].checked = "true";
}
for (j=0; j < 11; j++) {
if (prefhash["display[" + j + "].checked"] == "true")
document.lookup.display[j].checked = "true";
}
document.lookup.enctype.selectedIndex = prefhash["enctype.selectedIndex"];
return true;
}
function savePref()
{
var cookieval = "";
//for (var prop in document.forms[0]) {
// if (cookieval != "") cookieval += '&';
// alert(prop + " " + document.lookup[prop].value);
// cookieval += prop + ':' + escape(document.lookup[prop].value);
//}
cookieval = "searchmode[0].checked:" + document.lookup.searchmode[0].checked + '&';
cookieval += "searchmode[1].checked:" + document.lookup.searchmode[1].checked + '&';
cookieval += "searchmode[2].checked:" + document.lookup.searchmode[2].checked + '&';
cookieval += "printtype[0].checked:" + document.lookup.printtype[0].checked + '&';
cookieval += "printtype[1].checked:" + document.lookup.printtype[1].checked + '&';
cookieval += "printtype[2].checked:" + document.lookup.printtype[2].checked + '&';
cookieval += "printtype[3].checked:" + document.lookup.printtype[3].checked + '&';
cookieval += "chartype[0].checked:" + document.lookup.chartype[0].checked + '&';
cookieval += "chartype[1].checked:" + document.lookup.chartype[1].checked + '&';
cookieval += "chartype[2].checked:" + document.lookup.chartype[2].checked + '&';
cookieval += "ordering[0].checked:" + document.lookup.ordering[0].checked + '&';
cookieval += "ordering[1].checked:" + document.lookup.ordering[1].checked + '&';
cookieval += "display[0].checked:" + document.lookup.display[0].checked + '&';
cookieval += "display[1].checked:" + document.lookup.display[1].checked + '&';
cookieval += "display[2].checked:" + document.lookup.display[2].checked + '&';
cookieval += "display[3].checked:" + document.lookup.display[3].checked + '&';
cookieval += "display[4].checked:" + document.lookup.display[4].checked + '&';
cookieval += "display[5].checked:" + document.lookup.display[5].checked + '&';
cookieval += "display[6].checked:" + document.lookup.display[6].checked + '&';
cookieval += "display[7].checked:" + document.lookup.display[7].checked + '&';
cookieval += "display[8].checked:" + document.lookup.display[8].checked + '&';
cookieval += "display[9].checked:" + document.lookup.display[9].checked + '&';
cookieval += "enctype.selectedIndex:" + document.lookup.enctype.selectedIndex;
var cookie = 'chardict=' + cookieval;
var today = new Date();
var expiry = new Date(today.getTime() + 28 * 24 * 60 * 60 * 1000); // plus 28 days
cookie += "; expires=" + expiry.toGMTString();
document.cookie = cookie;
}
-->
</SCRIPT>
</HEAD>
<BODY BGCOLOR="LIGHTYELLOW" onLoad="loadPref();" onUnload="savePref();">
<CENTER><H1>Chinese Character Dictionary</H1></CENTER>
<FORM ACTION="http://www.mandarintools.com/cgi-bin/charlook.pl" METHOD="POST" name="lookup">
<TABLE>
<TR>
<TD VALIGN="TOP">
<STRONG>Search Mode</STRONG><BR>
<INPUT TYPE="radio" NAME="searchmode" value="limited"> Limited Search <BR>
<INPUT TYPE="radio" NAME="searchmode" value="standard" checked> Standard Search <BR>
<INPUT TYPE="radio" NAME="searchmode" value="comprehensive"> Comprehensive Search
</TD>
<TD VALIGN="TOP">
<STRONG>Print Results in</STRONG>:<BR>
<INPUT TYPE="radio" NAME="printtype" VALUE="gif" checked> GIF pictures<BR>
<INPUT TYPE="radio" NAME="printtype" VALUE="utf8"> UTF-8 (Unicode) <BR>
<INPUT TYPE="radio" NAME="printtype" VALUE="gb"> GB (simp. only)<BR>
<INPUT TYPE="radio" NAME="printtype" VALUE="big5"> Big5 (trad. only)<BR>
</TD>
<TD VALIGN="TOP">
<STRONG>Character Type</STRONG><BR>
<INPUT TYPE="radio" NAME="chartype" VALUE="trad" checked> Traditional Characters<BR>
<INPUT TYPE="radio" NAME="chartype" VALUE="simp"> Simplified Characters<BR>
<INPUT TYPE="radio" NAME="chartype" VALUE="all"> Trad. and Simp. Characters<BR>
</TD>
</TR>
<TR>
<TD COLSPAN=2 VALIGN=TOP>
<UL>
<LI>How do I <A HREF="dicthelp.html#use">use this dictionary</A>?
<LI>How can I <A HREF="dicthelp.html#utf8">see UTF-8 characters on my browser</A>?
<LI>This takes a long time to download. Do you have a <A HREF="dicthelp.html#nogif">
version of the dictionary</A> that doesn't use pictures to
represent Chinese characters?
</UL>
</TD>
<TD VALIGN="TOP">
<STRONG>Result Ordering</STRONG><BR>
<INPUT TYPE="radio" NAME="ordering" value="frequency" checked> By Frequency<BR>
<INPUT TYPE="radio" NAME="ordering" value="radstroke"> By Radical/Stroke<BR>
</TD>
</TR>
<TR>
<TD colspan = 3>
<BR>
<STRONG>In Results show: </STRONG>
<input type="checkbox" name="display" value="char" checked>Character
<input type="checkbox" name="display" value="radstroke" checked>Radical/Stroke
<input type="checkbox" name="display" value="strokes" checked>Total Strokes
<input type="checkbox" name="display" value="pinyin" checked>Pinyin
<input type="checkbox" name="display" value="english" checked>Definition
<input type="checkbox" name="display" value="cantonese" checked>Cantonese
<input type="checkbox" name="display" value="variants" checked>Variants
<input type="checkbox" name="display" value="unicode">Unicode Value
<input type="checkbox" name="display" value="gb">GB Value
<input type="checkbox" name="display" value="big5">Big5 Value
</TD>
</TR>
<TR>
<TD COLSPAN=3><BR><STRONG>English Look-up</STRONG></TD>
</TR>
<TR>
<TD>English word: </TD>
<TD><INPUT TYPE="text" name="english"> </TD>
<TD><INPUT TYPE="submit" NAME="searchenglish" VALUE="Search by English"></TD>
</TR>
<TR>
<TD COLSPAN=3><BR><STRONG>Pinyin Look-up</STRONG></TD>
</TR>
<TR>
<TD>Pinyin: (with or without tone number, 1-5)</TD>
<TD><INPUT TYPE="text" name="pinyin"></TD>
<TD> <INPUT TYPE="submit" NAME="searchpinyin" VALUE="Search by Pinyin"></TD>
</TR>
<TR>
<TD COLSPAN=3><BR><STRONG>Cantonese Look-up</STRONG></TD>
</TR>
<TR>
<TD>Yale Cantonese Spelling: </TD>
<TD><INPUT TYPE="text" name="cantonese"></TD>
<TD> <INPUT TYPE="submit" NAME="searchcantonese" value="Search by Cantonese"></TD>
</TR>
<TR>
<TD COLSPAN=3><BR><STRONG>Paste in Character</STRONG></TD>
</TR>
<TR>
<TD>Paste or Type in a
<SELECT NAME="enctype">
<OPTION VALUE="big5">Big5
<OPTION VALUE="gb">GB
<OPTION VALUE="ucs2">Unicode
</SELECT>
Character</TD>
<TD><INPUT TYPE="text" name="whatchar"></TD>
<TD><INPUT TYPE="submit" NAME="searchchar" value="Search by Character"></TD>
</TR>
<TR>
<TR>
<TD COLSPAN=3><BR><STRONG>Radical/Stroke Look-up</STRONG></TD>
</TR>
<TD>Search by Radical and remaining stroke count.
</TD>
<TD>Vist the <A HREF="chardict_rs.html">Radical/Stroke Look-up Page</A></TD>
<TD></TD>
</TR>
</TABLE>
<P>
I'm interested in hearing your ideas and suggestions for this tool.
Please visit my <A HREF="contact.html">contact page</A> to submit your comments. If you came to this page
directly, you might also want to take a look at some of my other <A
HREF="http://www.mandarintools.com" TARGET="_top">on-line Chinese tools</A>.
</BODY>
</HTML>