{"id":431,"date":"2016-04-06T20:44:54","date_gmt":"2016-04-06T11:44:54","guid":{"rendered":"http:\/\/www.onepage.co.kr\/wordpress\/?p=431"},"modified":"2016-04-06T20:44:54","modified_gmt":"2016-04-06T11:44:54","slug":"korean-hanja-char-code","status":"publish","type":"post","link":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/2016\/04\/06\/korean-hanja-char-code\/","title":{"rendered":"korean hanja \uad6c\ubd84"},"content":{"rendered":"<div class=\"postbody\"><strong>\ubb38\uc790\ucf54\ub4dc \uad6c\ubd84<\/strong><\/p>\n<p>\uc644\uc131\ud615 \ucf54\ub4dc\ud45c\uc5d0\uc11c \ud55c\uae00\uacfc \ud55c\uc790\uc758 \uc601\uc5ed\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4.<\/p>\n<div class=\"quotetitle\"><b>Quote:<\/b><\/div>\n<div class=\"quotecontent\">\uc644\uc131\ud615 \uae00\uc790 \ucf54\ub4dc\uc758 \ud55c\uae00 \uc601\uc5ed: xxyyh (xx: B0h ~ C8h, yy: A1h ~ FEh)<br \/>\n\uc644\uc131\ud615 \uae00\uc790 \ucf54\ub4dc\uc758 \ud55c\uc790 \uc601\uc5ed: xxyyh (xx: CAh ~ FDh, yy: A1h ~ FEh)<\/div>\n<p>\ub530\ub77c\uc11c \uae00\uc790\uac00 \ud55c\uae00\uc778\uc9c0 \ud655\uc778\ud558\ub824\uba74 \uc704\uc758 \ub450 \ubc94\uc704 \ub0b4\uc5d0 \ub4dc\ub294\uc9c0\ub97c \ucc44\ud06c\ud574 \ubcf4\uba74 \ub418\uaca0\uc2b5\ub2c8\ub2e4. \ucc38\uace0\ub85c \ub2e4\ub978 \uc885\ub958\uc758 \ubb38\uc790\uc758 \uc601\uc5ed\ub4e4\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4. &#8216;a&#8217;, &#8216;+&#8217;\uac19\uc740 1\ubc14\uc774\ud2b8 \ubb38\uc790(\ubc18\uac01)\ub294 \uc5ec\uae30\uc5d0 \ud3ec\ud568\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. \ubcf4\uae30\uc5d0\ub294 \uac19\uc740 \uae00\uc790\ub77c\ub3c4 2\ubc14\uc774\ud2b8 \ubb38\uc790(\uc804\uac01)\uc778 &#8216;\uff41&#8217;, &#8216;\uff0b&#8217;\uc640 1\ubc14\uc774\ud2b8 \ubb38\uc790(\ubc18\uac01)\uc778 &#8216;a&#8217;, &#8216;+&#8217;\ub294 \uc804\ud600 \ud2c0\ub9b0 \ubb38\uc790\uc785\ub2c8\ub2e4.<\/p>\n<div class=\"quotetitle\"><b>Quote:<\/b><\/div>\n<div class=\"quotecontent\">A1A1h ~ A2E5h: \uae30\ud638\uc640 \uc57d\uc790 \uba87\uac00\uc9c0<br \/>\nA3A1h ~ A3FEh: \uc804\uac01 \ubb38\uc790<br \/>\nA4A1h ~ A4FEh: \ud55c\uae00\uc790\ubaa8<br \/>\nA5A1h ~ A5AAh: \uc18c\ubb38\uc790 \ub85c\ub9c8\uc22b\uc790 (i~x)<br \/>\nA5B0h ~ A5B9h: \ub300\ubb38\uc790 \ub85c\ub9c8\uc22b\uc790 (I ~ X)<br \/>\nA5C1h ~ A5D8h: \ub300\ubb38\uc790 \uadf8\ub9ac\uc2a4 \ubb38\uc790<br \/>\nA5E1h ~ A5F8h: \uc18c\ubb38\uc790 \uadf8\ub9ac\uc2a4 \ubb38\uc790<br \/>\nA6A1h ~ A6E4h: \ub77c\uc778 \ubb38\uc790<br \/>\nA7A1h ~ A7EFh: \ub2e8\uc704<br \/>\nA8A1h ~ A8B0h: \ub300\ubb38\uc790 \ubc1c\uc74c\uae30\ud638<br \/>\nA8B1h ~ A8BEh: \uc6d0\ubb38\uc790 \ud55c\uae00 \uc790\uc74c (\u3131~\u314e)<br \/>\nA8BFh ~ A8CCh: \uc6d0\ubb38\uc790 \uac00\ub098\ub2e4 (\uac00~\ud558)<br \/>\nA8CDh ~ A8E6h: \uc6d0\ubb38\uc790 \uc601\ubb38 \uc18c\ubb38\uc790 (a~z)<br \/>\nA8E7h ~ A8F5h: \uc6d0\ubb38\uc790 \uc22b\uc790 (1~15)<br \/>\nA8B1h ~ A8BEh: \ubd84\uc218 (1\/2, 1\/3, 2\/3, 1\/4, 3\/4, 1\/8, 3\/8, 5\/8, 7\/8)<br \/>\nA9A1h ~ A9B0h: \uc18c\ubb38\uc790 \ubc1c\uc74c\uae30\ud638<br \/>\nA9B1h ~ A9BEh: \uad04\ud638\ubb38\uc790 \ud55c\uae00 \uc790\uc74c (\u3131~\u314e)<br \/>\nA9BFh ~ A9CCh: \uad04\ud638\ubb38\uc790 \uac00\ub098\ub2e4 (\uac00~\ud558)<br \/>\nA9CDh ~ A9E6h: \uad04\ud638\ubb38\uc790 \uc601\ubb38 \uc18c\ubb38\uc790 (a~z)<br \/>\nA9E7h ~ A9F5h: \uad04\ud638\ubb38\uc790 \uc22b\uc790 (1~15)<br \/>\nA9B1h ~ A9BEh: \uc704, \uc544\ub798\ucca8\uc790 (1, 2, 3, 4, n, 1, 2, 3, 4)<br \/>\nABA1h ~ ABF3h: \uac00\ud0c0\uce74\ub098<br \/>\nABA1h ~ ABF6h: \ud788\ub77c\uac00\ub098<br \/>\nACA1h ~ ACC1h: \ud0a4\ub9b4 \ubb38\uc790 \ub300\ubb38\uc790<br \/>\nACD1h ~ ACF1h: \ud0a4\ub9b4 \ubb38\uc790 \uc18c\ubb38\uc790<\/div>\n<p>\uc608\uc804\uc5d0 \ub9cc\ub4e4\uc5b4 \ub450\uc5c8\ub358 \uac8c\uc784\uc5d0\uc11c \uce90\ub9ad\ud130 \uc774\ub984 \ub4f1\uc744 \uc785\ub825\ubc1b\uc544 \uc720\ud6a8\uc131\uc744 \uccb4\ud06c\ud558\ub294 \ud544\ud130 \uc18c\uc2a4\uc774\ub2e4.<\/p>\n<p><strong>\uc544\uc2a4\ud0a4\uc5d0\uc11c\uc758 \ud2b9\uc218\ubb38\uc790 \ud655\uc778<\/strong><\/p>\n<div class=\"codetitle\"><b>Code:<\/b><\/div>\n<div class=\"codecontent\">enum<br \/>\n{<br \/>\nERROR_NAME_OK,\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \/\/ OK<br \/>\nERROR_NAME_MAX_LENGTH,\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \/\/ \ubb38\uc790\uc5f4 \uae38\uc774 \ucd08\uacfc.<br \/>\nERROR_NAME_MIN_LENGTH,\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \/\/ \ubb38\uc790\uc5f4\uc774 \ub108\ubb34 \uc9e7\uc74c.<br \/>\nERROR_NAME_SPECIAL_CODE,\u00a0 \u00a0 \u00a0 \u00a0 \/\/ \ud2b9\uc218\ucf54\ub4dc \uc0ac\uc6a9.<br \/>\nERROR_NAME_VALUE,\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \/\/ \uc22b\uc790 \uc0ac\uc6a9.<br \/>\nERROR_NAME_BLINK_MORE,\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \/\/ \uacf5\ubc31 \uc911\ubcf5 \uc0ac\uc6a9.<br \/>\n};<\/p>\n<p>int Check_Filter_Name( const char* buffer, int minLen, int maxLen )<br \/>\n{<br \/>\nint len = strlen(buffer);<\/p>\n<p>\/\/ \uae38\uc774 \uac80\uc0ac<br \/>\n\/\/ if( len &gt; NAME_LEN )<br \/>\nif( len &gt;= maxLen )<br \/>\nreturn ERROR_NAME_MAX_LENGTH;<br \/>\nelse if( len &lt; minLen )<br \/>\nreturn ERROR_NAME_MIN_LENGTH;<\/p>\n<p>\/\/ \ud2b9\uc218\ubb38\uc790 \uac80\uc0ac<br \/>\nfor( int x=0; x&lt;len; ++x )<br \/>\n{<br \/>\nif( ((unsigned char)buffer[x]&gt;= 0xB0 ) &amp;&amp;<br \/>\n((unsigned char)buffer[x] &lt;= 0xC8 ) &amp;&amp;<br \/>\n((unsigned char)buffer[x+1] &gt;= 0xA1) &amp;&amp;<br \/>\n((unsigned char)buffer[x+1] &lt;= 0xFE ))<br \/>\n{<br \/>\n\/\/ \ud55c\uae00 \ud574\ub2f9 \ubd80\ubd84<br \/>\nx++;<br \/>\ncontinue;<br \/>\n}<br \/>\nelse if( ( (unsigned char)buffer[x] &gt;= 0xCA ) &amp;&amp;<br \/>\n( (unsigned char)buffer[x] &lt;= 0xFD ) &amp;&amp;<br \/>\n( (unsigned char)buffer[x+1] &gt;= 0xA1 ) &amp;&amp;<br \/>\n( (unsigned char)buffer[x+1] &lt;= 0xFE) )<br \/>\n{<br \/>\n\/\/ \ud55c\uc790 \ud574\ub2f9 \ubd80\ubd84<br \/>\nreturn ERROR_NAME_SPECIAL_CODE;<br \/>\n}<br \/>\nelse if ( ( ( (unsigned char)buffer[x] &gt;= 0x41 ) &amp;&amp;<br \/>\n( (unsigned char)buffer[x] &lt;= 0x5A ) ) ||<br \/>\n( ( (unsigned char)buffer[x] &gt;= 0x61 ) &amp;&amp;<br \/>\n( (unsigned char)buffer[x] &lt;= 0x7A) ) )<br \/>\n{<br \/>\n\/\/ \uc601\uc5b4 \ud574\ub2f9 \ubd80\ubd84<br \/>\ncontinue;<br \/>\n}<br \/>\nelse if ( ( buffer[x]&gt;= &#8216;0&#8217; ) &amp;&amp; ( buffer[x] &lt;= &#8216;9&#8217; ) )<br \/>\n{<br \/>\n\/\/ \uc22b\uc790 \ucc98\ub9ac \ubd80\ubd84<br \/>\ncontinue;<br \/>\n}<br \/>\nelse if(( (unsigned char)buffer[x]&gt;= 0xA1 ) &amp;&amp;<br \/>\n( (unsigned char)buffer[x+1] &gt;= 0xA1 ) )<br \/>\n{<br \/>\n\/\/ 2byte special char<br \/>\nreturn ERROR_NAME_SPECIAL_CODE;<br \/>\n}<br \/>\nelse<br \/>\n{<br \/>\n\/\/ 1byte special character<br \/>\nreturn ERROR_NAME_SPECIAL_CODE;<br \/>\n}<br \/>\n}<\/p>\n<p>return ERROR_NAME_OK;<br \/>\n}<\/p><\/div>\n<p><strong>\uc720\ub2c8\ucf54\ub4dc\uc5d0\uc11c\uc758 \ud2b9\uc218\ubb38\uc790 \ud655\uc778 (\uc601\uc5b4, \uc22b\uc790,\uc644\uc131\ub41c \ud55c\uae00\uc744 \uc81c\uc678\ud558\uace0 \uac70\ub974\uae30<\/strong><\/p>\n<div class=\"codetitle\"><b>Code:<\/b><\/div>\n<div class=\"codecontent\">int len = (int)strSource.size();<br \/>\nfor(int i = 0; i &lt; len; i++)<br \/>\n{<br \/>\n\/\/ \uc22b\uc790<br \/>\nif(strSource[i] &gt;= 0x0030 &amp;&amp; strSource[i] &lt;= 0x0039)<br \/>\ncontinue;<br \/>\n\/\/ \uc601\uc5b4 \ub300\uc18c\ubb38\uc790<br \/>\nelse if( (strSource[i] &gt;= 0x0041 &amp;&amp; strSource[i] &lt;= 0x005a) ||<br \/>\n(strSource[i] &gt;= 0x0061 &amp;&amp; strSource[i] &lt;= 0x007a))<br \/>\ncontinue;<br \/>\n\/\/ \ud55c\uae00<br \/>\nelse if((strSource[i] &gt;= 0xAC00 &amp;&amp; strSource[i] &lt;= 0xD7A3))<br \/>\ncontinue;<br \/>\nelse<br \/>\nreturn false;<\/p>\n<p>\/\/ \ud604\uc7ac\ub294 \uc22b\uc790,\uc601\uc5b4,\ud55c\uae00\uc790\ub85c \uc644\uc131\ub41c \ud55c\uae00\ub9cc\uc744 \uac80\uc0c9\ud55c\ub2e4. \u314e\u314e\u314e \uac19\uc740\uac83\ub3c4 \uc548\ub428.<br \/>\n\/\/ \ud55c\uae00 \uc790\ubaa8\u00a0 \u00a0 \u00a0 1100 ~ 11FF<br \/>\n\/\/ \ud55c\uae00 \ud638\ud658 \uc790\ubaa8 3130 ~ 318F<br \/>\n\/\/ \u314e\u314e \uc774\ub098 \u314b\u314b\u314b\u314b \uac19\uc740 \ub2e8\uc5b4\ub3c4 \ub9c9\uc744\ub824\uba74..<br \/>\n\/\/ \ud55c\uae00 \uc790\ubaa8 \ub098 \ud638\ud658 \uc790\ubaa8\ub85c \uc0ac\uc6a9\ud558\ub824\uba74 \ub530\ub85c \ucc98\ub9ac\ud574\uc57c \ud55c\ub2e4.<br \/>\n}<\/p><\/div>\n<\/div>\n<div class=\"postbody\">\n_________________<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\ubb38\uc790\ucf54\ub4dc \uad6c\ubd84 \uc644\uc131\ud615 \ucf54\ub4dc\ud45c\uc5d0\uc11c \ud55c\uae00\uacfc \ud55c\uc790\uc758 \uc601\uc5ed\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4. Quote: \uc644\uc131\ud615 \uae00\uc790 \ucf54\ub4dc\uc758 \ud55c\uae00 \uc601\uc5ed: xxyyh (xx: B0h ~ C8h, yy: A1h ~ FEh) \uc644\uc131\ud615 \uae00\uc790 \ucf54\ub4dc\uc758 \ud55c\uc790 \uc601\uc5ed: xxyyh (xx: CAh ~ FDh, yy: A1h ~ FEh) \ub530\ub77c\uc11c \uae00\uc790\uac00 \ud55c\uae00\uc778\uc9c0 \ud655\uc778\ud558\ub824\uba74 \uc704\uc758 \ub450 \ubc94\uc704 \ub0b4\uc5d0 \ub4dc\ub294\uc9c0\ub97c \ucc44\ud06c\ud574 \ubcf4\uba74 \ub418\uaca0\uc2b5\ub2c8\ub2e4. \ucc38\uace0\ub85c \ub2e4\ub978 \uc885\ub958\uc758 \ubb38\uc790\uc758 \uc601\uc5ed\ub4e4\uc740 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-431","post","type-post","status-publish","format-standard","hentry","category-about-linux"],"_links":{"self":[{"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/431","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=431"}],"version-history":[{"count":1,"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/431\/revisions"}],"predecessor-version":[{"id":432,"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/431\/revisions\/432"}],"wp:attachment":[{"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=431"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}