0N/A<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
0N/A<html>
0N/A<head>
0N/A <title>README - CodePointIM</title>
0N/A <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
0N/A</head>
0N/A<body>
0N/A<h1>Code Point Input Method</h1>
0N/A<p>
0N/AThe Code Point Input Method is a simple input method that allows Unicode
0N/Acharacters to be entered using their code point or code unit values.
0N/A<p>
0N/AThe input method accepts three different notations, all using hexadecimal
0N/Adigits from the set [0-9a-fA-F]:
0N/A<br>
0N/A<ul>
0N/A <li>"\uxxxx": The standard Unicode escape notation of the Java programming
0N/Alanguage. This notation allows input of code points up to U+FFFE; the illegal
0N/Acode point U+FFFF is not allowed.</li>
0N/A <li>"\Uxxxxxx": An extended Unicode escape notation specific to this input
0N/Amethod. This notation allows direct input of any Unicode code Point except the
0N/Aillegal code point U+FFFF. The uppercase "U" indicates that six hexadecimal
0N/Adigits follow. "xxxxxx" must be between 000000 and 10FFFF.</li>
0N/A <li>"\uxxxx\uyyyy": Two consecutive standard Unicode escapes, together
0N/Arepresenting a code point between U+10000 and U+10FFFF (a supplementary
0N/Acharacter). "xxxx" must be between D800 and DBFF (that is, a high surrogate
0N/Avalue), "yyyy" between DC00 and DFFF (a low surrogate value).</li>
0N/A</ul>
0N/AIn general, the input method passes characters through unchanged. However,
0N/Awhen the user types a "\", the input method enters composition mode. In
0N/Acomposition mode, the user types the desired code point using one of the
0N/Anotations above, then types a space character to convert to the corresponding
0N/AUnicode character and commit. The input method then returns to pass-through
0N/Amode until another "\" character is entered.
0N/A<p>
0N/AWhile in composition mode, the user can use the left arrow, right arrow,
0N/Abackspace, and delete keys to edit the sequence. The "\u" or "\U" characters
0N/Acan only be deleted if they are not followed by hexadecimal digits in the
0N/Acomposition sequence. Deleting the initial "\u" or "\U" returns the input
0N/Amethod to pass-through mode.
0N/A<p>
0N/ASince the initial "\" character starts composition mode, a user must type two
0N/A"\" characters in order to add a single "\" to the text. When an initial "\"
0N/Ahas been entered, but the next character is not "u", "U", or "\", both the "\"
0N/Aand the subsequent character are committed, and the input method returns to
0N/Apass-through mode. Also, typing a new line, or tab character at any time
0N/Aduring composition immediately commits the current composed text.
0N/A<p>
0N/AInput methods are extensions to the Java Runtime Environment; they cannot be
0N/Arun as applications. Before you can use an input method, you have to install
0N/Ait in the JRE, run an application that supports input methods (such as the
0N/AJFC demos Notepad and Stylepad), and select the input method. You can learn
0N/Amore about these steps from the article
0N/A"<a href="http://javadesktop.org/articles/InputMethod/index.html">Using Input Methods on the Java Platform</a>"
0N/Aand more about supplementary character support from the article
0N/A"<a href="http://java.sun.com/developer/technicalArticles/Intl/Supplementary/index.html">Supplementary Characters in the Java Platform</a>".
0N/A<p>
0N/AThis input method requires JRE 5.0 or higher.
0N/A<br>
0N/A</body>
0N/A</html>