CINXE.COM
~vcs-imports/libiconv/trunk : revision 1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> <meta name="generator" content="<function generator_string at 0x7facd5cf81f0>" /> <title>~vcs-imports/libiconv/trunk : revision 1</title> <link rel="stylesheet" href="/static/css/global.css" /> <link rel="shortcut icon" href="/static/images/favicon.png" /> <script type="text/javascript"> var global_path = '/~vcs-imports/libiconv/trunk/'; var collapsed_icon_path = '/static/images/treeCollapsed.png'; var expanded_icon_path = '/static/images/treeExpanded.png'; </script> <script type="text/javascript" src="/static/javascript/jquery.min.js"></script> <script type="text/javascript" src="/static/javascript/custom.js"></script> <link rel="stylesheet" type="text/css" media="all" href="/static/css/diff.css"/> <script type="text/javascript" src="/static/javascript/diff.js"></script> <script type="text/javascript"> var link_data = {}; var specific_path = "src/johab_hangul.h"; var path_to_id = {}; </script> </head> <body class="public"> <!-- Loggerhead Content Area --> <div class="black-link"> <a href="https://code.launchpad.net/~vcs-imports/libiconv/trunk"> ← Back to branch summary </a> </div> <h1 class="branch-name"> ~vcs-imports/libiconv/trunk </h1> <ul id="menuTabs"> <li><a href="/~vcs-imports/libiconv/trunk/changes" title="Changes" id="on">Changes</a></li> <li><a href="/~vcs-imports/libiconv/trunk/files" title="Files">Files</a></li> </ul> <div id="loggerheadCont"> <div id="search_terms"></div> <div id="breadcrumbs"> <a href="https://code.launchpad.net/~vcs-imports/libiconv/trunk">~vcs-imports/libiconv/trunk</a> <span class="breadcrumb">» Revision <a title="View changes to all files" href="/~vcs-imports/libiconv/trunk/revision/1">1</a> </span> <span class="breadcrumb"> : <a href="/~vcs-imports/libiconv/trunk/view/1/src/johab_hangul.h" title="Annotate src/johab_hangul.h">src/johab_hangul.h</a> </span> </div> <p> <a href="/~vcs-imports/libiconv/trunk/revision/1"> « back to all changes in this revision </a> </p> <p> Viewing changes to <a href="/~vcs-imports/libiconv/trunk/view/1/src/johab_hangul.h" title="Annotate src/johab_hangul.h">src/johab_hangul.h</a> </p> <ul id="submenuTabs"> <li id="first"><a href="/~vcs-imports/libiconv/trunk/files/1" title="browse files at revision 1">browse files at revision 1</a></li> <li> <a href="/~vcs-imports/libiconv/trunk/revision/1?remember=1" title="compare with another revision">compare with another revision</a></li> <li> <a id="download_link" href="/~vcs-imports/libiconv/trunk/diff/1">download diff</a> </li> <li> <a href="/~vcs-imports/libiconv/trunk/tarball/1">download tarball</a> </li> <li id="last"><a href="/~vcs-imports/libiconv/trunk/changes/1" title="view history from revision 1">view history from revision 1</a></li> </ul> <div class="infoContainer"> <div id="infTxt"> <ul> <li class="committer"> <strong>Committer:</strong> <span>Bruno Haible</span> </li> <li class="timer"> <strong>Date:</strong> <span>1999-12-31 12:50:49 UTC</span> </li> <li class="revid"> <strong>Revision ID:</strong> <span>git-v1:3af9cd39c56e113876d5d85416b106eaaf8fa23c</span> </li> </ul> <div class="tags">Tags: v0.3</div> <div class="clear"><!-- --></div> <div class="information">Import聽from聽libiconv-0.3.<br/></div> </div> <ul id="list-files"> <ul> <li class="desc">files added:</li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/AUTHORS#AUTHORS" title="View changes to AUTHORS in revision 1">AUTHORS</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/COPYING.LIB#COPYING.LIB" title="View changes to COPYING.LIB in revision 1">COPYING.LIB</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/DESIGN#DESIGN" title="View changes to DESIGN in revision 1">DESIGN</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/Makefile.devel#Makefile.devel" title="View changes to Makefile.devel in revision 1">Makefile.devel</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/Makefile.in#Makefile.in" title="View changes to Makefile.in in revision 1">Makefile.in</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/Makefile.msvc#Makefile.msvc" title="View changes to Makefile.msvc in revision 1">Makefile.msvc</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/NEWS#NEWS" title="View changes to NEWS in revision 1">NEWS</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/NOTES#NOTES" title="View changes to NOTES in revision 1">NOTES</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/PORTS#PORTS" title="View changes to PORTS in revision 1">PORTS</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/README#README" title="View changes to README in revision 1">README</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/README.win32#README.win32" title="View changes to README.win32 in revision 1">README.win32</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/TODO#TODO" title="View changes to TODO in revision 1">TODO</a> </li> </ul> <ul> <li class="files" id="directory"> autoconf </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/autoconf/acgeneral.m4#autoconf/acgeneral.m4" title="View changes to autoconf/acgeneral.m4 in revision 1">autoconf/acgeneral.m4</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/autoconf/aclocal.m4#autoconf/aclocal.m4" title="View changes to autoconf/aclocal.m4 in revision 1">autoconf/aclocal.m4</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/autoconf/acspecific.m4#autoconf/acspecific.m4" title="View changes to autoconf/acspecific.m4 in revision 1">autoconf/acspecific.m4</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/autoconf/autoconf#autoconf/autoconf" title="View changes to autoconf/autoconf in revision 1">autoconf/autoconf</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/autoconf/autoconf.m4#autoconf/autoconf.m4" title="View changes to autoconf/autoconf.m4 in revision 1">autoconf/autoconf.m4</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/autoconf/config.guess#autoconf/config.guess" title="View changes to autoconf/config.guess in revision 1">autoconf/config.guess</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/autoconf/config.sub#autoconf/config.sub" title="View changes to autoconf/config.sub in revision 1">autoconf/config.sub</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/autoconf/ltconfig#autoconf/ltconfig" title="View changes to autoconf/ltconfig in revision 1">autoconf/ltconfig</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/autoconf/ltmain.sh#autoconf/ltmain.sh" title="View changes to autoconf/ltmain.sh in revision 1">autoconf/ltmain.sh</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/configure#configure" title="View changes to configure in revision 1">configure</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/configure.in#configure.in" title="View changes to configure.in in revision 1">configure.in</a> </li> </ul> <ul> <li class="files" id="directory"> extras </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/extras/ChangeLog#extras/ChangeLog" title="View changes to extras/ChangeLog in revision 1">extras/ChangeLog</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/extras/iconv_string.c#extras/iconv_string.c" title="View changes to extras/iconv_string.c in revision 1">extras/iconv_string.c</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/extras/iconv_string.h#extras/iconv_string.h" title="View changes to extras/iconv_string.h in revision 1">extras/iconv_string.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/extras/locale_charset.c#extras/locale_charset.c" title="View changes to extras/locale_charset.c in revision 1">extras/locale_charset.c</a> </li> </ul> <ul> <li class="files" id="directory"> include </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/include/libiconv.h.in#include/libiconv.h.in" title="View changes to include/libiconv.h.in in revision 1">include/libiconv.h.in</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/include/libiconv.h.msvc#include/libiconv.h.msvc" title="View changes to include/libiconv.h.msvc in revision 1">include/libiconv.h.msvc</a> </li> </ul> <ul> <li class="files" id="directory"> man </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/man/Makefile.in#man/Makefile.in" title="View changes to man/Makefile.in in revision 1">man/Makefile.in</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/man/iconv.3#man/iconv.3" title="View changes to man/iconv.3 in revision 1">man/iconv.3</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/man/iconv_close.3#man/iconv_close.3" title="View changes to man/iconv_close.3 in revision 1">man/iconv_close.3</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/man/iconv_open.3#man/iconv_open.3" title="View changes to man/iconv_open.3 in revision 1">man/iconv_open.3</a> </li> </ul> <ul> <li class="files" id="directory"> src </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/Makefile.in#src/Makefile.in" title="View changes to src/Makefile.in in revision 1">src/Makefile.in</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/Makefile.msvc#src/Makefile.msvc" title="View changes to src/Makefile.msvc in revision 1">src/Makefile.msvc</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/aliases.gperf#src/aliases.gperf" title="View changes to src/aliases.gperf in revision 1">src/aliases.gperf</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/aliases.h#src/aliases.h" title="View changes to src/aliases.h in revision 1">src/aliases.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/armscii_8.h#src/armscii_8.h" title="View changes to src/armscii_8.h in revision 1">src/armscii_8.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/ascii.h#src/ascii.h" title="View changes to src/ascii.h in revision 1">src/ascii.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/big5.h#src/big5.h" title="View changes to src/big5.h in revision 1">src/big5.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/ces_big5.h#src/ces_big5.h" title="View changes to src/ces_big5.h in revision 1">src/ces_big5.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/ces_gbk.h#src/ces_gbk.h" title="View changes to src/ces_gbk.h in revision 1">src/ces_gbk.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/cns11643.h#src/cns11643.h" title="View changes to src/cns11643.h in revision 1">src/cns11643.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/cns11643_1.h#src/cns11643_1.h" title="View changes to src/cns11643_1.h in revision 1">src/cns11643_1.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/cns11643_2.h#src/cns11643_2.h" title="View changes to src/cns11643_2.h in revision 1">src/cns11643_2.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/cns11643_3.h#src/cns11643_3.h" title="View changes to src/cns11643_3.h in revision 1">src/cns11643_3.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/cns11643_inv.h#src/cns11643_inv.h" title="View changes to src/cns11643_inv.h in revision 1">src/cns11643_inv.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/config.h.in#src/config.h.in" title="View changes to src/config.h.in in revision 1">src/config.h.in</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/config.h.msvc#src/config.h.msvc" title="View changes to src/config.h.msvc in revision 1">src/config.h.msvc</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/cp1133.h#src/cp1133.h" title="View changes to src/cp1133.h in revision 1">src/cp1133.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/cp1250.h#src/cp1250.h" title="View changes to src/cp1250.h in revision 1">src/cp1250.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/cp1251.h#src/cp1251.h" title="View changes to src/cp1251.h in revision 1">src/cp1251.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/cp1252.h#src/cp1252.h" title="View changes to src/cp1252.h in revision 1">src/cp1252.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/cp1253.h#src/cp1253.h" title="View changes to src/cp1253.h in revision 1">src/cp1253.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/cp1254.h#src/cp1254.h" title="View changes to src/cp1254.h in revision 1">src/cp1254.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/cp1255.h#src/cp1255.h" title="View changes to src/cp1255.h in revision 1">src/cp1255.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/cp1256.h#src/cp1256.h" title="View changes to src/cp1256.h in revision 1">src/cp1256.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/cp1257.h#src/cp1257.h" title="View changes to src/cp1257.h in revision 1">src/cp1257.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/cp1258.h#src/cp1258.h" title="View changes to src/cp1258.h in revision 1">src/cp1258.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/cp850.h#src/cp850.h" title="View changes to src/cp850.h in revision 1">src/cp850.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/cp866.h#src/cp866.h" title="View changes to src/cp866.h in revision 1">src/cp866.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/cp874.h#src/cp874.h" title="View changes to src/cp874.h in revision 1">src/cp874.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/cp932.h#src/cp932.h" title="View changes to src/cp932.h in revision 1">src/cp932.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/cp932ext.h#src/cp932ext.h" title="View changes to src/cp932ext.h in revision 1">src/cp932ext.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/cp936ext.h#src/cp936ext.h" title="View changes to src/cp936ext.h in revision 1">src/cp936ext.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/cp950.h#src/cp950.h" title="View changes to src/cp950.h in revision 1">src/cp950.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/cp950ext.h#src/cp950ext.h" title="View changes to src/cp950ext.h in revision 1">src/cp950ext.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/encodings.def#src/encodings.def" title="View changes to src/encodings.def in revision 1">src/encodings.def</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/euc_cn.h#src/euc_cn.h" title="View changes to src/euc_cn.h in revision 1">src/euc_cn.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/euc_jp.h#src/euc_jp.h" title="View changes to src/euc_jp.h in revision 1">src/euc_jp.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/euc_kr.h#src/euc_kr.h" title="View changes to src/euc_kr.h in revision 1">src/euc_kr.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/euc_tw.h#src/euc_tw.h" title="View changes to src/euc_tw.h in revision 1">src/euc_tw.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/gb12345.h#src/gb12345.h" title="View changes to src/gb12345.h in revision 1">src/gb12345.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/gb12345ext.h#src/gb12345ext.h" title="View changes to src/gb12345ext.h in revision 1">src/gb12345ext.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/gb2312.h#src/gb2312.h" title="View changes to src/gb2312.h in revision 1">src/gb2312.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/gbk.h#src/gbk.h" title="View changes to src/gbk.h in revision 1">src/gbk.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/gbkext1.h#src/gbkext1.h" title="View changes to src/gbkext1.h in revision 1">src/gbkext1.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/gbkext2.h#src/gbkext2.h" title="View changes to src/gbkext2.h in revision 1">src/gbkext2.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/gbkext_inv.h#src/gbkext_inv.h" title="View changes to src/gbkext_inv.h in revision 1">src/gbkext_inv.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/genaliases.c#src/genaliases.c" title="View changes to src/genaliases.c in revision 1">src/genaliases.c</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/georgian_academy.h#src/georgian_academy.h" title="View changes to src/georgian_academy.h in revision 1">src/georgian_academy.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/georgian_ps.h#src/georgian_ps.h" title="View changes to src/georgian_ps.h in revision 1">src/georgian_ps.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/hp_roman8.h#src/hp_roman8.h" title="View changes to src/hp_roman8.h in revision 1">src/hp_roman8.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/hz.h#src/hz.h" title="View changes to src/hz.h in revision 1">src/hz.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/iconv.c#src/iconv.c" title="View changes to src/iconv.c in revision 1">src/iconv.c</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/iso2022_cn.h#src/iso2022_cn.h" title="View changes to src/iso2022_cn.h in revision 1">src/iso2022_cn.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/iso2022_cnext.h#src/iso2022_cnext.h" title="View changes to src/iso2022_cnext.h in revision 1">src/iso2022_cnext.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/iso2022_jp.h#src/iso2022_jp.h" title="View changes to src/iso2022_jp.h in revision 1">src/iso2022_jp.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/iso2022_jp1.h#src/iso2022_jp1.h" title="View changes to src/iso2022_jp1.h in revision 1">src/iso2022_jp1.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/iso2022_jp2.h#src/iso2022_jp2.h" title="View changes to src/iso2022_jp2.h in revision 1">src/iso2022_jp2.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/iso2022_kr.h#src/iso2022_kr.h" title="View changes to src/iso2022_kr.h in revision 1">src/iso2022_kr.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/iso8859_1.h#src/iso8859_1.h" title="View changes to src/iso8859_1.h in revision 1">src/iso8859_1.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/iso8859_10.h#src/iso8859_10.h" title="View changes to src/iso8859_10.h in revision 1">src/iso8859_10.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/iso8859_13.h#src/iso8859_13.h" title="View changes to src/iso8859_13.h in revision 1">src/iso8859_13.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/iso8859_14.h#src/iso8859_14.h" title="View changes to src/iso8859_14.h in revision 1">src/iso8859_14.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/iso8859_15.h#src/iso8859_15.h" title="View changes to src/iso8859_15.h in revision 1">src/iso8859_15.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/iso8859_2.h#src/iso8859_2.h" title="View changes to src/iso8859_2.h in revision 1">src/iso8859_2.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/iso8859_3.h#src/iso8859_3.h" title="View changes to src/iso8859_3.h in revision 1">src/iso8859_3.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/iso8859_4.h#src/iso8859_4.h" title="View changes to src/iso8859_4.h in revision 1">src/iso8859_4.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/iso8859_5.h#src/iso8859_5.h" title="View changes to src/iso8859_5.h in revision 1">src/iso8859_5.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/iso8859_6.h#src/iso8859_6.h" title="View changes to src/iso8859_6.h in revision 1">src/iso8859_6.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/iso8859_7.h#src/iso8859_7.h" title="View changes to src/iso8859_7.h in revision 1">src/iso8859_7.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/iso8859_8.h#src/iso8859_8.h" title="View changes to src/iso8859_8.h in revision 1">src/iso8859_8.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/iso8859_9.h#src/iso8859_9.h" title="View changes to src/iso8859_9.h in revision 1">src/iso8859_9.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/java.h#src/java.h" title="View changes to src/java.h in revision 1">src/java.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/jisx0201.h#src/jisx0201.h" title="View changes to src/jisx0201.h in revision 1">src/jisx0201.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/jisx0208.h#src/jisx0208.h" title="View changes to src/jisx0208.h in revision 1">src/jisx0208.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/jisx0212.h#src/jisx0212.h" title="View changes to src/jisx0212.h in revision 1">src/jisx0212.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/johab.h#src/johab.h" title="View changes to src/johab.h in revision 1">src/johab.h</a> </li> </ul> <ul> <li class="files" id="file"> <b><a href="#src/johab_hangul.h">src/johab_hangul.h</a></b> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/koi8_r.h#src/koi8_r.h" title="View changes to src/koi8_r.h in revision 1">src/koi8_r.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/koi8_ru.h#src/koi8_ru.h" title="View changes to src/koi8_ru.h in revision 1">src/koi8_ru.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/koi8_u.h#src/koi8_u.h" title="View changes to src/koi8_u.h in revision 1">src/koi8_u.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/ksc5601.h#src/ksc5601.h" title="View changes to src/ksc5601.h in revision 1">src/ksc5601.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/mac_arabic.h#src/mac_arabic.h" title="View changes to src/mac_arabic.h in revision 1">src/mac_arabic.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/mac_centraleurope.h#src/mac_centraleurope.h" title="View changes to src/mac_centraleurope.h in revision 1">src/mac_centraleurope.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/mac_croatian.h#src/mac_croatian.h" title="View changes to src/mac_croatian.h in revision 1">src/mac_croatian.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/mac_cyrillic.h#src/mac_cyrillic.h" title="View changes to src/mac_cyrillic.h in revision 1">src/mac_cyrillic.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/mac_greek.h#src/mac_greek.h" title="View changes to src/mac_greek.h in revision 1">src/mac_greek.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/mac_hebrew.h#src/mac_hebrew.h" title="View changes to src/mac_hebrew.h in revision 1">src/mac_hebrew.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/mac_iceland.h#src/mac_iceland.h" title="View changes to src/mac_iceland.h in revision 1">src/mac_iceland.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/mac_roman.h#src/mac_roman.h" title="View changes to src/mac_roman.h in revision 1">src/mac_roman.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/mac_romania.h#src/mac_romania.h" title="View changes to src/mac_romania.h in revision 1">src/mac_romania.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/mac_thai.h#src/mac_thai.h" title="View changes to src/mac_thai.h in revision 1">src/mac_thai.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/mac_turkish.h#src/mac_turkish.h" title="View changes to src/mac_turkish.h in revision 1">src/mac_turkish.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/mac_ukraine.h#src/mac_ukraine.h" title="View changes to src/mac_ukraine.h in revision 1">src/mac_ukraine.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/mulelao.h#src/mulelao.h" title="View changes to src/mulelao.h in revision 1">src/mulelao.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/nextstep.h#src/nextstep.h" title="View changes to src/nextstep.h in revision 1">src/nextstep.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/sjis.h#src/sjis.h" title="View changes to src/sjis.h in revision 1">src/sjis.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/tcvn.h#src/tcvn.h" title="View changes to src/tcvn.h in revision 1">src/tcvn.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/tis620.h#src/tis620.h" title="View changes to src/tis620.h in revision 1">src/tis620.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/ucs2.h#src/ucs2.h" title="View changes to src/ucs2.h in revision 1">src/ucs2.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/ucs2internal.h#src/ucs2internal.h" title="View changes to src/ucs2internal.h in revision 1">src/ucs2internal.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/ucs2swapped.h#src/ucs2swapped.h" title="View changes to src/ucs2swapped.h in revision 1">src/ucs2swapped.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/ucs4.h#src/ucs4.h" title="View changes to src/ucs4.h in revision 1">src/ucs4.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/ucs4internal.h#src/ucs4internal.h" title="View changes to src/ucs4internal.h in revision 1">src/ucs4internal.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/ucs4swapped.h#src/ucs4swapped.h" title="View changes to src/ucs4swapped.h in revision 1">src/ucs4swapped.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/utf16.h#src/utf16.h" title="View changes to src/utf16.h in revision 1">src/utf16.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/utf7.h#src/utf7.h" title="View changes to src/utf7.h in revision 1">src/utf7.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/utf8.h#src/utf8.h" title="View changes to src/utf8.h in revision 1">src/utf8.h</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/src/viscii.h#src/viscii.h" title="View changes to src/viscii.h in revision 1">src/viscii.h</a> </li> </ul> <ul> <li class="files" id="directory"> tools </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/tools/8bit_tab_to_h.c#tools/8bit_tab_to_h.c" title="View changes to tools/8bit_tab_to_h.c in revision 1">tools/8bit_tab_to_h.c</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/tools/Makefile#tools/Makefile" title="View changes to tools/Makefile in revision 1">tools/Makefile</a> </li> </ul> <ul> <li class="files" id="file"> <a href="/~vcs-imports/libiconv/trunk/revision/1/tools/cjk_tab_to_h.c#tools/cjk_tab_to_h.c" title="View changes to tools/cjk_tab_to_h.c in revision 1">tools/cjk_tab_to_h.c</a> </li> </ul> </ul> <div class="clear"><!-- --></div> </div> <!-- Table --> <p class="expand show_if_js"><a id="toggle_unified_sbs" href="#">Show diffs side-by-side</a></p> <p class="codin"><img alt="added" src="/static/images/newCode.gif" /> added</p> <p class="codin"><img alt="removed" src="/static/images/deleteCode.gif" /> removed</p> <form onSubmit="compute_diff_links(); return false">Lines of Context:<input type="text" id="contextLines" size="2" length="7" value="3" onKeyUp="compute_diff_links(); return false"/></form> <div class="clear"><!-- --></div> <div> <div class="diff"> <div class="diffBox"> <a class="the-link" href="/~vcs-imports/libiconv/trunk/revision/1/src/johab_hangul.h" id="src/johab_hangul.h" title="View changes to src/johab_hangul.h only"> <img class="expand_diff" src="/static/images/treeExpanded.png"/> src/johab_hangul.h </a> </div> <div style="overflow: hidden"> <div class="container"> <div class="loading" style="display:none"> <img src="/static/images/spinner.gif" /> </div> <div class="diffinfo"> <div class="pseudotable unified"> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">1</div> <div class="code insert"> </div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">2</div> <div class="code insert">/*</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">3</div> <div class="code insert"> * JOHAB Hangul</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">4</div> <div class="code insert"> *</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">5</div> <div class="code insert"> * Ken Lunde writes in his "CJKV Information Processing" book, p. 114:</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">6</div> <div class="code insert"> * "Hangul can be composed of two or three jamo (some jamo are considered</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">7</div> <div class="code insert"> * compound). Johab uses 19 initial jamo (consonants), 21 medial jamo (vowels)</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">8</div> <div class="code insert"> * and 27 final jamo (consonants; 28 when you include the "fill" character</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">9</div> <div class="code insert"> * for Hangul containing only two jamo). Multiplying these numbers results in</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">10</div> <div class="code insert"> * 11172."</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">11</div> <div class="code insert"> *</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">12</div> <div class="code insert"> * Structure of the Johab encoding (see p. 181-184):</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">13</div> <div class="code insert"> * bit 15 = 1</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">14</div> <div class="code insert"> * bit 14..10 = initial jamo, only 19+1 out of 32 possible values are used</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">15</div> <div class="code insert"> * bit 9..5 = medial jamo, only 21+1 out of 32 possible values are used</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">16</div> <div class="code insert"> * bit 4..0 = final jamo, only 27+1 out of 32 possible values are used</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">17</div> <div class="code insert"> * </div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">18</div> <div class="code insert"> * Structure of the Unicode encoding:</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">19</div> <div class="code insert"> * grep '^0x\([8-C]...\|D[0-7]..\)' unicode.org-mappings/EASTASIA/KSC/JOHAB.TXT</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">20</div> <div class="code insert"> * You see that all characters there are marked "HANGUL LETTER" or "HANGUL</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">21</div> <div class="code insert"> * SYLLABLE". If you eliminate the "HANGUL LETTER"s, the table is sorted</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">22</div> <div class="code insert"> * in ascending order according to Johab encoding and according to the Unicode</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">23</div> <div class="code insert"> * encoding. Now look a little more carefully, and you see that the following</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">24</div> <div class="code insert"> * formula holds:</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">25</div> <div class="code insert"> * unicode == 0xAC00</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">26</div> <div class="code insert"> * + 21 * 28 * (jamo_initial_index[(johab >> 10) & 31] - 1)</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">27</div> <div class="code insert"> * + 28 * (jamo_medial_index[(johab >> 5) & 31] - 1)</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">28</div> <div class="code insert"> * + jamo_final_index[johab & 31]</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">29</div> <div class="code insert"> * where the index tables are defined as below.</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">30</div> <div class="code insert"> */</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">31</div> <div class="code insert"> </div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">32</div> <div class="code insert">/* Tables mapping 5-bit groups to jamo letters. */</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">33</div> <div class="code insert">/* Note that Jamo XX = UHC 0xA4A0+XX = Unicode 0x3130+XX */</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">34</div> <div class="code insert">#define NONE 0xfd</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">35</div> <div class="code insert">#define FILL 0xff</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">36</div> <div class="code insert">static const unsigned char jamo_initial[32] = {</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">37</div> <div class="code insert"> NONE, FILL, 0x01, 0x02, 0x04, 0x07, 0x08, 0x09,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">38</div> <div class="code insert"> 0x11, 0x12, 0x13, 0x15, 0x16, 0x17, 0x18, 0x19,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">39</div> <div class="code insert"> 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, NONE, NONE, NONE,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">40</div> <div class="code insert"> NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">41</div> <div class="code insert">};</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">42</div> <div class="code insert">static const unsigned char jamo_medial[32] = {</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">43</div> <div class="code insert"> NONE, NONE, FILL, 0x1f, 0x20, 0x21, 0x22, 0x23,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">44</div> <div class="code insert"> NONE, NONE, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">45</div> <div class="code insert"> NONE, NONE, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">46</div> <div class="code insert"> NONE, NONE, 0x30, 0x31, 0x32, 0x33, NONE, NONE,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">47</div> <div class="code insert">};</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">48</div> <div class="code insert">static const unsigned char jamo_final[32] = {</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">49</div> <div class="code insert"> NONE, FILL, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">50</div> <div class="code insert"> 0x07, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">51</div> <div class="code insert"> 0x10, 0x11, NONE, 0x12, 0x14, 0x15, 0x16, 0x17,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">52</div> <div class="code insert"> 0x18, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, NONE, NONE,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">53</div> <div class="code insert">};</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">54</div> <div class="code insert">/* Same as jamo_final, except that it excludes characters already</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">55</div> <div class="code insert"> contained in jamo_initial. 11 characters instead of 27. */</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">56</div> <div class="code insert">static const unsigned char jamo_final_notinitial[32] = {</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">57</div> <div class="code insert"> NONE, NONE, NONE, NONE, 0x03, NONE, 0x05, 0x06,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">58</div> <div class="code insert"> NONE, NONE, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">59</div> <div class="code insert"> 0x10, NONE, NONE, NONE, 0x14, NONE, NONE, NONE,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">60</div> <div class="code insert"> NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">61</div> <div class="code insert">};</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">62</div> <div class="code insert"> </div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">63</div> <div class="code insert">/* Tables mapping 5-bit groups to packed indices. */</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">64</div> <div class="code insert">#define none -1</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">65</div> <div class="code insert">#define fill 0</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">66</div> <div class="code insert">static const signed char jamo_initial_index[32] = {</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">67</div> <div class="code insert"> none, fill, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">68</div> <div class="code insert"> 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">69</div> <div class="code insert"> 0x0f, 0x10, 0x11, 0x12, 0x13, none, none, none,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">70</div> <div class="code insert"> none, none, none, none, none, none, none, none,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">71</div> <div class="code insert">};</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">72</div> <div class="code insert">static const signed char jamo_medial_index[32] = {</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">73</div> <div class="code insert"> none, none, fill, 0x01, 0x02, 0x03, 0x04, 0x05,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">74</div> <div class="code insert"> none, none, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">75</div> <div class="code insert"> none, none, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">76</div> <div class="code insert"> none, none, 0x12, 0x13, 0x14, 0x15, none, none,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">77</div> <div class="code insert">};</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">78</div> <div class="code insert">static const signed char jamo_final_index[32] = {</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">79</div> <div class="code insert"> none, fill, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">80</div> <div class="code insert"> 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">81</div> <div class="code insert"> 0x0f, 0x10, none, 0x11, 0x12, 0x13, 0x14, 0x15,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">82</div> <div class="code insert"> 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, none, none,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">83</div> <div class="code insert">};</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">84</div> <div class="code insert"> </div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">85</div> <div class="code insert">static int</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">86</div> <div class="code insert">johab_hangul_mbtowc (conv_t conv, wchar_t *pwc, const unsigned char *s, int n)</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">87</div> <div class="code insert">{</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">88</div> <div class="code insert"> unsigned char c1 = s[0];</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">89</div> <div class="code insert"> if ((c1 >= 0x84 && c1 <= 0xd3)) {</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">90</div> <div class="code insert"> if (n >= 2) {</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">91</div> <div class="code insert"> unsigned char c2 = s[1];</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">92</div> <div class="code insert"> if ((c2 >= 0x41 && c2 < 0x7f) || (c2 >= 0x81 && c2 < 0xff)) {</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">93</div> <div class="code insert"> unsigned int johab = (c1 << 8) | c2;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">94</div> <div class="code insert"> unsigned int bitspart1 = (johab >> 10) & 31;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">95</div> <div class="code insert"> unsigned int bitspart2 = (johab >> 5) & 31;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">96</div> <div class="code insert"> unsigned int bitspart3 = johab & 31;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">97</div> <div class="code insert"> int index1 = jamo_initial_index[bitspart1];</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">98</div> <div class="code insert"> int index2 = jamo_medial_index[bitspart2];</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">99</div> <div class="code insert"> int index3 = jamo_final_index[bitspart3];</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">100</div> <div class="code insert"> /* Exclude "none" values. */</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">101</div> <div class="code insert"> if (index1 >= 0 && index2 >= 0 && index3 >= 0) {</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">102</div> <div class="code insert"> /* Deal with "fill" values in initial or medial position. */</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">103</div> <div class="code insert"> if (index1 == fill) {</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">104</div> <div class="code insert"> if (index2 == fill) {</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">105</div> <div class="code insert"> unsigned char jamo3 = jamo_final_notinitial[bitspart3];</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">106</div> <div class="code insert"> if (jamo3 != NONE) {</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">107</div> <div class="code insert"> *pwc = (wchar_t) 0x3130 + jamo3;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">108</div> <div class="code insert"> return 2;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">109</div> <div class="code insert"> }</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">110</div> <div class="code insert"> } else if (index3 == fill) {</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">111</div> <div class="code insert"> unsigned char jamo2 = jamo_medial[bitspart2];</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">112</div> <div class="code insert"> if (jamo2 != NONE && jamo2 != FILL) {</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">113</div> <div class="code insert"> *pwc = (wchar_t) 0x3130 + jamo2;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">114</div> <div class="code insert"> return 2;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">115</div> <div class="code insert"> }</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">116</div> <div class="code insert"> }</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">117</div> <div class="code insert"> /* Syllables composed only of medial and final don't exist. */</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">118</div> <div class="code insert"> } else if (index2 == fill) {</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">119</div> <div class="code insert"> if (index3 == fill) {</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">120</div> <div class="code insert"> unsigned char jamo1 = jamo_initial[bitspart1];</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">121</div> <div class="code insert"> if (jamo1 != NONE && jamo1 != FILL) {</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">122</div> <div class="code insert"> *pwc = (wchar_t) 0x3130 + jamo1;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">123</div> <div class="code insert"> return 2;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">124</div> <div class="code insert"> }</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">125</div> <div class="code insert"> }</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">126</div> <div class="code insert"> /* Syllables composed only of initial and final don't exist. */</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">127</div> <div class="code insert"> } else {</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">128</div> <div class="code insert"> /* index1 and index2 are not fill, but index3 may be fill. */</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">129</div> <div class="code insert"> /* Nothing more to exclude. All 11172 code points are valid. */</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">130</div> <div class="code insert"> *pwc = 0xac00 + ((index1 - 1) * 21 + (index2 - 1)) * 28 + index3;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">131</div> <div class="code insert"> return 2;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">132</div> <div class="code insert"> }</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">133</div> <div class="code insert"> }</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">134</div> <div class="code insert"> }</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">135</div> <div class="code insert"> return RET_ILSEQ;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">136</div> <div class="code insert"> }</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">137</div> <div class="code insert"> return RET_TOOFEW(0);</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">138</div> <div class="code insert"> }</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">139</div> <div class="code insert"> return RET_ILSEQ;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">140</div> <div class="code insert">}</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">141</div> <div class="code insert"> </div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">142</div> <div class="code insert">/* 51 Jamo: 19 initial, 21 medial, 11 final not initial. */</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">143</div> <div class="code insert">static const unsigned short johab_hangul_page31[51] = {</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">144</div> <div class="code insert"> 0x8841, 0x8c41, 0x8444, 0x9041, 0x8446, 0x8447, 0x9441, /*0x30-0x37*/</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">145</div> <div class="code insert"> 0x9841, 0x9c41, 0x844a, 0x844b, 0x844c, 0x844d, 0x844e, 0x844f, /*0x38-0x3f*/</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">146</div> <div class="code insert"> 0x8450, 0xa041, 0xa441, 0xa841, 0x8454, 0xac41, 0xb041, 0xb441, /*0x40-0x47*/</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">147</div> <div class="code insert"> 0xb841, 0xbc41, 0xc041, 0xc441, 0xc841, 0xcc41, 0xd041, 0x8461, /*0x48-0x4f*/</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">148</div> <div class="code insert"> 0x8481, 0x84a1, 0x84c1, 0x84e1, 0x8541, 0x8561, 0x8581, 0x85a1, /*0x50-0x57*/</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">149</div> <div class="code insert"> 0x85c1, 0x85e1, 0x8641, 0x8661, 0x8681, 0x86a1, 0x86c1, 0x86e1, /*0x58-0x5f*/</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">150</div> <div class="code insert"> 0x8741, 0x8761, 0x8781, 0x87a1, /*0x60-0x67*/</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">151</div> <div class="code insert">};</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">152</div> <div class="code insert"> </div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">153</div> <div class="code insert">/* Tables mapping packed indices to 5-bit groups. */</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">154</div> <div class="code insert">/* index1+1 = jamo_initial_index[bitspart1] <==></div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">155</div> <div class="code insert"> bitspart1 = jamo_initial_index_inverse[index1] */</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">156</div> <div class="code insert">static const char jamo_initial_index_inverse[19] = {</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">157</div> <div class="code insert"> 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">158</div> <div class="code insert"> 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">159</div> <div class="code insert"> 0x10, 0x11, 0x12, 0x13, 0x14,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">160</div> <div class="code insert">};</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">161</div> <div class="code insert">/* index2+1 = jamo_medial_index[bitspart2] <==></div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">162</div> <div class="code insert"> bitspart2 = jamo_medial_index_inverse[index2] */</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">163</div> <div class="code insert">static const char jamo_medial_index_inverse[21] = {</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">164</div> <div class="code insert"> 0x03, 0x04, 0x05, 0x06, 0x07,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">165</div> <div class="code insert"> 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">166</div> <div class="code insert"> 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">167</div> <div class="code insert"> 0x1a, 0x1b, 0x1c, 0x1d,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">168</div> <div class="code insert">};</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">169</div> <div class="code insert">/* index3 = jamo_final_index[bitspart3] <==></div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">170</div> <div class="code insert"> bitspart3 = jamo_final_index_inverse[index3] */</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">171</div> <div class="code insert">static const char jamo_final_index_inverse[28] = {</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">172</div> <div class="code insert"> 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">173</div> <div class="code insert"> 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">174</div> <div class="code insert"> 0x10, 0x11, 0x13, 0x14, 0x15, 0x16, 0x17,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">175</div> <div class="code insert"> 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d,</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">176</div> <div class="code insert">};</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">177</div> <div class="code insert"> </div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">178</div> <div class="code insert">static int</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">179</div> <div class="code insert">johab_hangul_wctomb (conv_t conv, unsigned char *r, wchar_t wc, int n)</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">180</div> <div class="code insert">{</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">181</div> <div class="code insert"> if (n >= 2) {</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">182</div> <div class="code insert"> if (wc >= 0x3131 && wc < 0x3164) {</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">183</div> <div class="code insert"> unsigned short c = johab_hangul_page31[wc-0x3131];</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">184</div> <div class="code insert"> r[0] = (c >> 8); r[1] = (c & 0xff);</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">185</div> <div class="code insert"> return 2;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">186</div> <div class="code insert"> } else if (wc >= 0xac00 && wc < 0xd7a4) {</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">187</div> <div class="code insert"> unsigned int index1;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">188</div> <div class="code insert"> unsigned int index2;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">189</div> <div class="code insert"> unsigned int index3;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">190</div> <div class="code insert"> unsigned short c;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">191</div> <div class="code insert"> unsigned int tmp = wc - 0xac00;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">192</div> <div class="code insert"> index3 = tmp % 28; tmp = tmp / 28;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">193</div> <div class="code insert"> index2 = tmp % 21; tmp = tmp / 21;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">194</div> <div class="code insert"> index1 = tmp;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">195</div> <div class="code insert"> c = (((((1 << 5)</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">196</div> <div class="code insert"> | jamo_initial_index_inverse[index1]) << 5)</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">197</div> <div class="code insert"> | jamo_medial_index_inverse[index2]) << 5)</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">198</div> <div class="code insert"> | jamo_final_index_inverse[index3];</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">199</div> <div class="code insert"> r[0] = (c >> 8); r[1] = (c & 0xff);</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">200</div> <div class="code insert"> return 2;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">201</div> <div class="code insert"> }</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">202</div> <div class="code insert"> return RET_ILSEQ;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">203</div> <div class="code insert"> }</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">204</div> <div class="code insert"> return RET_TOOSMALL;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">205</div> <div class="code insert">}</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">206</div> <div class="code insert"> </div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">207</div> <div class="code insert">/*</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">208</div> <div class="code insert"> * Decomposition of JOHAB Hangul in one to three Johab Jamo elements.</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">209</div> <div class="code insert"> */</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">210</div> <div class="code insert"> </div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">211</div> <div class="code insert">/* Decompose wc into r[0..2], and return the number of resulting Jamo elements.</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">212</div> <div class="code insert"> Return RET_ILSEQ if decomposition is not possible. */</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">213</div> <div class="code insert"> </div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">214</div> <div class="code insert">static int johab_hangul_decompose (conv_t conv, unsigned char* r, wchar_t wc)</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">215</div> <div class="code insert">{</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">216</div> <div class="code insert"> unsigned char buf[2];</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">217</div> <div class="code insert"> int ret = johab_hangul_wctomb(conv,buf,wc,2);</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">218</div> <div class="code insert"> if (ret != RET_ILSEQ) {</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">219</div> <div class="code insert"> unsigned int hangul = (buf[0] << 8) | buf[1];</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">220</div> <div class="code insert"> unsigned char jamo1 = jamo_initial[(hangul >> 10) & 31];</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">221</div> <div class="code insert"> unsigned char jamo2 = jamo_medial[(hangul >> 5) & 31];</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">222</div> <div class="code insert"> unsigned char jamo3 = jamo_final[hangul & 31];</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">223</div> <div class="code insert"> if ((hangul >> 15) != 1) abort();</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">224</div> <div class="code insert"> if (jamo1 != NONE && jamo2 != NONE && jamo3 != NONE) {</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">225</div> <div class="code insert"> /* They are not all three == FILL because that would correspond to</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">226</div> <div class="code insert"> johab = 0x8441, which doesn't exist. */</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">227</div> <div class="code insert"> unsigned char* p = r;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">228</div> <div class="code insert"> if (jamo1 != FILL)</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">229</div> <div class="code insert"> *p++ = jamo1;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">230</div> <div class="code insert"> if (jamo2 != FILL)</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">231</div> <div class="code insert"> *p++ = jamo2;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">232</div> <div class="code insert"> if (jamo3 != FILL)</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">233</div> <div class="code insert"> *p++ = jamo3;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">234</div> <div class="code insert"> return p-r;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">235</div> <div class="code insert"> }</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">236</div> <div class="code insert"> }</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">237</div> <div class="code insert"> return RET_ILSEQ;</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">238</div> <div class="code insert">}</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">239</div> <div class="code insert"> </div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">240</div> <div class="code insert">#undef fill</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">241</div> <div class="code insert">#undef none</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">242</div> <div class="code insert">#undef FILL</div> <div class="clear"><!-- --></div> </div> <div class="pseudorow insert-row"> <div class="lineNumber first"> </div> <div class="lineNumber second">243</div> <div class="code insert">#undef NONE</div> <div class="clear"><!-- --></div> </div> </div> </div> </div> </div> </div> <ul id="pages"> <!-- FIXME: Leaving this to eventually show page numbers. Can't show all of them, so some magic has to be done to just show the previous and next N page numbers <li class="active">1</li> <tal:block tal:repeat="page_number python:range(navigation.page_count)"> <li><a href="#" tal:content="page_number"></a></li> </tal:block>--> <li class="next"> <a href="/~vcs-imports/libiconv/trunk/revision/1286?start_revid=1287">Older »</a> </li> </ul> </div> <p id="footer" class="fl"> Loggerhead is a web-based interface for <a href="https://www.breezy-vcs.org/">Breezy</a> <br /> Version: 2.0.1 </p> </div> </body> </html>