Files
strans/map/mssymbol.src
Hojun-Cho 62ddc2177b data(hanja): a lone consonant is a reading too
Every Korean keyboard's 한자 key answers a lone consonant with the KS X
1001 symbol palette, and has since 한글 워드프로세서: ㅁ for ※ ○ △ ㈜, ㄴ
for the brackets, ㄹ for the units, ㅇ for the circled numbers.  strans
sends that key to the same search as a syllable -- Khanja is Ctrl+H at
strans.c:830, and startsearch seeds the query with whatever ko.c left
pending -- but every one of hanja.dict's 187286 readings is a syllable, so
the popup came up with a query in it and nothing to pick:

	ㅁ: 0 candidates
	ㄴ: 0 candidates
	ㄹ: 0 candidates
	한: 99 candidates 韓 漢 寒 限 閑 恨 旱 汗 翰 邯 罕 悍 澣 閒 瀚

libhangul ships that palette beside the Hanja table already imported here:
data/hanja/mssymbol.txt, same commit, same author, same BSD-3 terms, same
key:value:comment format -- and keyed by the compatibility jamo ko.c
already holds, U+3141 for ㅁ.  So the engine does not change at all; the
same dictlookup on the same trie now finds something:

	ㅁ: 75 candidates # & * @ § ※ ☆ ★ ○ ● ◎ ◇ ◆ □ ■ △ ▲ ▽ ▼
	ㄴ: 23 candidates " ( ) [ ] { } ‘ ’ “ ” 〔 〕 〈 〉 《 》 「 」
	ㄹ: 94 candidates $ % ₩ F ′ ″ ℃ Å ¢ £ ¥ ¤ ℉ ‰ € ㎕ ㎖ ㎗ ℓ
	한: 99 candidates 韓 漢 寒 限 閑 恨 旱 汗 翰 邯 罕 悍 澣 閒 瀚

Both scripts widen by one rule -- a syllable reading gives Hanja, a jamo
reading gives a symbol -- and hanja.src regenerates byte for byte as it
was, because upstream's own non-syllable readings are words like ㄱ자집
whose values were never Hanja and still fall out.  985 of mssymbol.txt's
987 rows survive: its ideographic space and its soft hyphen do not, since
a candidate the popup cannot draw is not a candidate, and the row format
separates candidates with a space besides.

The two keyspaces cannot collide -- one is syllables, one is single jamo --
so the 187286 existing rows are unchanged, byte for byte, and 18 rows join
them.  mkhanja takes a source list as mkemoji already does, and keeps each
upstream header, which is why the licence text now appears twice.

89 unit, check-live, check-stress and valgrind all clean.  The five new
assertions were checked by breaking the change five ways: dropping
mssymbol.src from SOURCES, letting issymbol keep a formatting character,
letting a jamo reading keep Hanja, widening isjamo to the vowels, and
making mkhanja reject jamo readings.  Each fails only the tests that exist
for it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-18 01:56:23 +09:00

1013 lines
9.0 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Copyright (c) 2005-2014 Choe Hwanjin
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
# 3. Neither the name of the author nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
_
 ̄ ㄱ
、 ㄱ
。 ㄱ
· ㄱ
‥ ㄱ
… ㄱ
¨ ㄱ
〃 ㄱ
― ㄱ
∥ ㄱ
´
ˇ ㄱ
˘ ㄱ
˝ ㄱ
˚ ㄱ
˙ ㄱ
¸
˛
¡ ㄱ
¿ ㄱ
ː
Æ ㄲ
Ð ㄲ
Ħ ㄲ
IJ ㄲ
Ŀ ㄲ
Ł ㄲ
Ø ㄲ
Œ ㄲ
Þ ㄲ
Ŧ ㄲ
Ŋ ㄲ
æ ㄲ
đ ㄲ
ð ㄲ
ħ ㄲ
ı
ij ㄲ
ĸ ㄲ
ŀ ㄲ
ł ㄲ
ø ㄲ
œ ㄲ
ß ㄲ
þ ㄲ
ŧ ㄲ
ŋ ㄲ
ʼn ㄲ
“ ㄴ
” ㄴ
〈 ㄴ
〉 ㄴ
《 ㄴ
》 ㄴ
「 ㄴ
」 ㄴ
『 ㄴ
』 ㄴ
【 ㄴ
】 ㄴ
± ㄷ
×
÷ ㄷ
≠ ㄷ
≤ ㄷ
≥ ㄷ
∞ ㄷ
∴ ㄷ
♂ ㄷ
♀ ㄷ
∠ ㄷ
⊥ ㄷ
⌒ ㄷ
∂ ㄷ
∇ ㄷ
≡ ㄷ
≒ ㄷ
≪ ㄷ
≫ ㄷ
√ ㄷ
∽ ㄷ
∝ ㄷ
∵ ㄷ
∫ ㄷ
∬ ㄷ
∈ ㄷ
∋ ㄷ
⊆ ㄷ
⊇ ㄷ
⊂ ㄷ
⊃ ㄷ
∩ ㄷ
∧ ㄷ
¬ ㄷ
⇒ ㄷ
⇔ ㄷ
∀ ㄷ
∃ ㄷ
∮ ㄷ
∑ ㄷ
∏ ㄷ
ぁ ㄸ
あ ㄸ
ぃ ㄸ
い ㄸ
ぅ ㄸ
う ㄸ
ぇ ㄸ
え ㄸ
ぉ ㄸ
お ㄸ
か ㄸ
が ㄸ
き ㄸ
ぎ ㄸ
く ㄸ
ぐ ㄸ
け ㄸ
げ ㄸ
こ ㄸ
ご ㄸ
さ ㄸ
ざ ㄸ
し ㄸ
じ ㄸ
す ㄸ
ず ㄸ
せ ㄸ
ぜ ㄸ
そ ㄸ
ぞ ㄸ
た ㄸ
だ ㄸ
ち ㄸ
ぢ ㄸ
っ ㄸ
つ ㄸ
づ ㄸ
て ㄸ
で ㄸ
と ㄸ
ど ㄸ
な ㄸ
に ㄸ
ぬ ㄸ
ね ㄸ
の ㄸ
は ㄸ
ば ㄸ
ぱ ㄸ
ひ ㄸ
び ㄸ
ぴ ㄸ
ふ ㄸ
ぶ ㄸ
ぷ ㄸ
へ ㄸ
べ ㄸ
ぺ ㄸ
ほ ㄸ
ぼ ㄸ
ぽ ㄸ
ま ㄸ
み ㄸ
む ㄸ
め ㄸ
も ㄸ
ゃ ㄸ
や ㄸ
ゅ ㄸ
ゆ ㄸ
ょ ㄸ
よ ㄸ
ら ㄸ
り ㄸ
る ㄸ
れ ㄸ
ろ ㄸ
ゎ ㄸ
わ ㄸ
ゐ ㄸ
ゑ ㄸ
を ㄸ
ん ㄸ
₩ ㄹ
″ ㄹ
℃ ㄹ
Å ㄹ
¢ ㄹ
£ ㄹ
¥ ㄹ
¤ ㄹ
℉ ㄹ
‰ ㄹ
€ ㄹ
㎕ ㄹ
㎖ ㄹ
㎗ ㄹ
㎘ ㄹ
㏄ ㄹ
㎣ ㄹ
㎤ ㄹ
㎥ ㄹ
㎦ ㄹ
㎙ ㄹ
㎚ ㄹ
㎛ ㄹ
㎜ ㄹ
㎝ ㄹ
㎞ ㄹ
㎟ ㄹ
㎠ ㄹ
㎡ ㄹ
㎢ ㄹ
㏊ ㄹ
㎍ ㄹ
㎎ ㄹ
㎏ ㄹ
㏏ ㄹ
㎈ ㄹ
㎉ ㄹ
㏈ ㄹ
㎧ ㄹ
㎨ ㄹ
㎰ ㄹ
㎱ ㄹ
㎲ ㄹ
㎳ ㄹ
㎴ ㄹ
㎵ ㄹ
㎶ ㄹ
㎷ ㄹ
㎸ ㄹ
㎹ ㄹ
㎀ ㄹ
㎁ ㄹ
㎂ ㄹ
㎃ ㄹ
㎄ ㄹ
㎺ ㄹ
㎻ ㄹ
㎼ ㄹ
㎽ ㄹ
㎾ ㄹ
㎿ ㄹ
㎐ ㄹ
㎑ ㄹ
㎒ ㄹ
㎓ ㄹ
㎔ ㄹ
Ω ㄹ
㏀ ㄹ
㏁ ㄹ
㎊ ㄹ
㎋ ㄹ
㎌ ㄹ
㏖ ㄹ
㏅ ㄹ
㎭ ㄹ
㎮ ㄹ
㎯ ㄹ
㏛ ㄹ
㎩ ㄹ
㎪ ㄹ
㎫ ㄹ
㎬ ㄹ
㏝ ㄹ
㏐ ㄹ
㏓ ㄹ
㏃ ㄹ
㏉ ㄹ
㏜ ㄹ
㏆ ㄹ
§ ㅁ
※ ㅁ
☆ ㅁ
★ ㅁ
○ ㅁ
● ㅁ
◎ ㅁ
◇ ㅁ
◆ ㅁ
□ ㅁ
■ ㅁ
△ ㅁ
▲ ㅁ
▽ ㅁ
▼ ㅁ
→ ㅁ
← ㅁ
↑ ㅁ
↓ ㅁ
↔ ㅁ
〓 ㅁ
◁ ㅁ
◀ ㅁ
▷ ㅁ
▶ ㅁ
♤ ㅁ
♠ ㅁ
♡ ㅁ
♥ ㅁ
♧ ㅁ
♣ ㅁ
⊙ ㅁ
◈ ㅁ
▣ ㅁ
◐ ㅁ
◑ ㅁ
▒ ㅁ
▤ ㅁ
▥ ㅁ
▨ ㅁ
▧ ㅁ
▦ ㅁ
▩ ㅁ
♨ ㅁ
☏ ㅁ
☎ ㅁ
☜ ㅁ
☞ ㅁ
¶ ㅁ
† ㅁ
‡ ㅁ
↕ ㅁ
↗ ㅁ
↙ ㅁ
↖ ㅁ
↘ ㅁ
♭ ㅁ
♩ ㅁ
♪ ㅁ
♬ ㅁ
㉿ ㅁ
㈜ ㅁ
№ ㅁ
㏇ ㅁ
™ ㅁ
㏂ ㅁ
㏘ ㅁ
℡ ㅁ
® ㅁ
ª ㅁ
º ㅁ
─ ㅂ
│ ㅂ
┌ ㅂ
┐ ㅂ
┘ ㅂ
└ ㅂ
├ ㅂ
┬ ㅂ
┤ ㅂ
┴ ㅂ
┼ ㅂ
━ ㅂ
┃ ㅂ
┏ ㅂ
┓ ㅂ
┛ ㅂ
┗ ㅂ
┣ ㅂ
┳ ㅂ
┫ ㅂ
┻ ㅂ
╋ ㅂ
┠ ㅂ
┯ ㅂ
┨ ㅂ
┷ ㅂ
┿ ㅂ
┝ ㅂ
┰ ㅂ
┥ ㅂ
┸ ㅂ
╂ ㅂ
┒ ㅂ
┑ ㅂ
┚ ㅂ
┙ ㅂ
┖ ㅂ
┕ ㅂ
┎ ㅂ
┍ ㅂ
┞ ㅂ
┟ ㅂ
┡ ㅂ
┢ ㅂ
┦ ㅂ
┧ ㅂ
┩ ㅂ
┪ ㅂ
┭ ㅂ
┮ ㅂ
┱ ㅂ
┲ ㅂ
┵ ㅂ
┶ ㅂ
┹ ㅂ
┺ ㅂ
┽ ㅂ
┾ ㅂ
╀ ㅂ
╁ ㅂ
╃ ㅂ
╄ ㅂ
╅ ㅂ
╆ ㅂ
╇ ㅂ
╈ ㅂ
╉ ㅂ
╊ ㅂ
ァ ㅃ
ア ㅃ
ィ ㅃ
イ ㅃ
ゥ ㅃ
ウ ㅃ
ェ ㅃ
エ ㅃ
ォ ㅃ
オ ㅃ
カ ㅃ
ガ ㅃ
キ ㅃ
ギ ㅃ
ク ㅃ
グ ㅃ
ケ ㅃ
ゲ ㅃ
コ ㅃ
ゴ ㅃ
サ ㅃ
ザ ㅃ
シ ㅃ
ジ ㅃ
ス ㅃ
ズ ㅃ
セ ㅃ
ゼ ㅃ
ソ ㅃ
ゾ ㅃ
タ ㅃ
ダ ㅃ
チ ㅃ
ヂ ㅃ
ッ ㅃ
ツ ㅃ
ヅ ㅃ
テ ㅃ
デ ㅃ
ト ㅃ
ド ㅃ
ナ ㅃ
ニ ㅃ
ヌ ㅃ
ネ ㅃ
ハ ㅃ
バ ㅃ
パ ㅃ
ヒ ㅃ
ビ ㅃ
ピ ㅃ
フ ㅃ
ブ ㅃ
プ ㅃ
ヘ ㅃ
ベ ㅃ
ペ ㅃ
ホ ㅃ
ボ ㅃ
ポ ㅃ
マ ㅃ
ミ ㅃ
ム ㅃ
メ ㅃ
モ ㅃ
ャ ㅃ
ヤ ㅃ
ュ ㅃ
ユ ㅃ
ョ ㅃ
ヨ ㅃ
ラ ㅃ
リ ㅃ
ル ㅃ
レ ㅃ
ロ ㅃ
ヮ ㅃ
ワ ㅃ
ヰ ㅃ
ヱ ㅃ
ヲ ㅃ
ン ㅃ
ヴ ㅃ
ヵ ㅃ
ヶ ㅃ
㉠ ㅅ
㉡ ㅅ
㉢ ㅅ
㉣ ㅅ
㉤ ㅅ
㉥ ㅅ
㉦ ㅅ
㉧ ㅅ
㉨ ㅅ
㉩ ㅅ
㉪ ㅅ
㉫ ㅅ
㉬ ㅅ
㉭ ㅅ
㉮ ㅅ
㉯ ㅅ
㉰ ㅅ
㉱ ㅅ
㉲ ㅅ
㉳ ㅅ
㉴ ㅅ
㉵ ㅅ
㉶ ㅅ
㉷ ㅅ
㉸ ㅅ
㉹ ㅅ
㉺ ㅅ
㉻ ㅅ
㈀ ㅅ
㈁ ㅅ
㈂ ㅅ
㈃ ㅅ
㈄ ㅅ
㈅ ㅅ
㈆ ㅅ
㈇ ㅅ
㈈ ㅅ
㈉ ㅅ
㈊ ㅅ
㈋ ㅅ
㈌ ㅅ
㈍ ㅅ
㈎ ㅅ
㈏ ㅅ
㈐ ㅅ
㈑ ㅅ
㈒ ㅅ
㈓ ㅅ
㈔ ㅅ
㈕ ㅅ
㈖ ㅅ
㈗ ㅅ
㈘ ㅅ
㈙ ㅅ
㈚ ㅅ
㈛ ㅅ
А
Б ㅆ
В
Г ㅆ
Д ㅆ
Е
Ё ㅆ
Ж ㅆ
З
И ㅆ
Й ㅆ
К
Л ㅆ
М
Н
О
П ㅆ
Р
С
Т
У
Ф ㅆ
Х
Ц ㅆ
Ч ㅆ
Ш ㅆ
Щ ㅆ
Ъ ㅆ
Ы ㅆ
Ь
Э ㅆ
Ю ㅆ
Я ㅆ
а
б
в ㅆ
г
д ㅆ
е
ё ㅆ
ж ㅆ
з ㅆ
и ㅆ
й ㅆ
к ㅆ
л ㅆ
м ㅆ
н ㅆ
о
п ㅆ
р
с
т ㅆ
у
ф ㅆ
х
ц ㅆ
ч ㅆ
ш ㅆ
щ ㅆ
ъ ㅆ
ы ㅆ
ь ㅆ
э ㅆ
ю ㅆ
я ㅆ
ⓐ ㅇ
ⓑ ㅇ
ⓒ ㅇ
ⓓ ㅇ
ⓔ ㅇ
ⓕ ㅇ
ⓖ ㅇ
ⓗ ㅇ
ⓘ ㅇ
ⓙ ㅇ
ⓚ ㅇ
ⓛ ㅇ
ⓜ ㅇ
ⓝ ㅇ
ⓞ ㅇ
ⓟ ㅇ
ⓠ ㅇ
ⓡ ㅇ
ⓢ ㅇ
ⓣ ㅇ
ⓤ ㅇ
ⓥ ㅇ
ⓦ ㅇ
ⓧ ㅇ
ⓨ ㅇ
ⓩ ㅇ
① ㅇ
② ㅇ
③ ㅇ
④ ㅇ
⑤ ㅇ
⑥ ㅇ
⑦ ㅇ
⑧ ㅇ
⑨ ㅇ
⑩ ㅇ
⑪ ㅇ
⑫ ㅇ
⑬ ㅇ
⑭ ㅇ
⑮ ㅇ
⒜ ㅇ
⒝ ㅇ
⒞ ㅇ
⒟ ㅇ
⒠ ㅇ
⒡ ㅇ
⒢ ㅇ
⒣ ㅇ
⒤ ㅇ
⒥ ㅇ
⒦ ㅇ
⒧ ㅇ
⒨ ㅇ
⒩ ㅇ
⒪ ㅇ
⒫ ㅇ
⒬ ㅇ
⒭ ㅇ
⒮ ㅇ
⒯ ㅇ
⒰ ㅇ
⒱ ㅇ
⒲ ㅇ
⒳ ㅇ
⒴ ㅇ
⒵ ㅇ
⑴ ㅇ
⑵ ㅇ
⑶ ㅇ
⑷ ㅇ
⑸ ㅇ
⑹ ㅇ
⑺ ㅇ
⑻ ㅇ
⑼ ㅇ
⑽ ㅇ
⑾ ㅇ
⑿ ㅇ
⒀ ㅇ
⒁ ㅇ
⒂ ㅇ
ⅱ ㅈ
ⅲ ㅈ
ⅳ ㅈ
ⅵ ㅈ
ⅶ ㅈ
ⅷ ㅈ
ⅸ ㅈ
Ⅱ ㅈ
Ⅲ ㅈ
Ⅳ ㅈ
Ⅵ ㅈ
Ⅶ ㅈ
Ⅷ ㅈ
Ⅸ ㅈ
½ ㅊ
⅓ ㅊ
⅔ ㅊ
¼ ㅊ
¾ ㅊ
⅛ ㅊ
⅜ ㅊ
⅝ ㅊ
⅞ ㅊ
¹ ㅊ
² ㅊ
³ ㅊ
⁴ ㅊ
ⁿ ㅊ
₁ ㅊ
₂ ㅊ
₃ ㅊ
₄ ㅊ
ㄱ ㅋ
ㄲ ㅋ
ㄳ ㅋ
ㄴ ㅋ
ㄵ ㅋ
ㄶ ㅋ
ㄷ ㅋ
ㄸ ㅋ
ㄹ ㅋ
ㄺ ㅋ
ㄻ ㅋ
ㄼ ㅋ
ㄽ ㅋ
ㄾ ㅋ
ㄿ ㅋ
ㅀ ㅋ
ㅁ ㅋ
ㅂ ㅋ
ㅃ ㅋ
ㅄ ㅋ
ㅅ ㅋ
ㅆ ㅋ
ㅇ ㅋ
ㅈ ㅋ
ㅉ ㅋ
ㅊ ㅋ
ㅋ ㅋ
ㅌ ㅋ
ㅍ ㅋ
ㅎ ㅋ
ㅏ ㅋ
ㅐ ㅋ
ㅑ ㅋ
ㅒ ㅋ
ㅓ ㅋ
ㅔ ㅋ
ㅕ ㅋ
ㅖ ㅋ
ㅗ ㅋ
ㅘ ㅋ
ㅙ ㅋ
ㅚ ㅋ
ㅛ ㅋ
ㅜ ㅋ
ㅝ ㅋ
ㅞ ㅋ
ㅟ ㅋ
ㅠ ㅋ
ㅡ ㅋ
ㅢ ㅋ
ㅣ ㅋ
ㅥ ㅌ
ㅦ ㅌ
ㅧ ㅌ
ㅨ ㅌ
ㅩ ㅌ
ㅪ ㅌ
ㅫ ㅌ
ㅬ ㅌ
ㅭ ㅌ
ㅮ ㅌ
ㅯ ㅌ
ㅰ ㅌ
ㅱ ㅌ
ㅲ ㅌ
ㅳ ㅌ
ㅴ ㅌ
ㅵ ㅌ
ㅶ ㅌ
ㅷ ㅌ
ㅸ ㅌ
ㅹ ㅌ
ㅺ ㅌ
ㅻ ㅌ
ㅼ ㅌ
ㅽ ㅌ
ㅾ ㅌ
ㅿ ㅌ
ㆀ ㅌ
ㆁ ㅌ
ㆂ ㅌ
ㆃ ㅌ
ㆄ ㅌ
ㆅ ㅌ
ㆆ ㅌ
ㆇ ㅌ
ㆈ ㅌ
ㆉ ㅌ
ㆊ ㅌ
ㆋ ㅌ
ㆌ ㅌ
ㆍ ㅌ
ㆎ ㅌ
Α
Β
Γ ㅎ
Δ ㅎ
Ε
Ζ
Η
Θ ㅎ
Ι
Κ
Λ ㅎ
Μ
Ν
Ξ ㅎ
Ο
Π ㅎ
Ρ
Σ ㅎ
Τ
Υ
Φ ㅎ
Χ
Ψ ㅎ
Ω ㅎ
α
β ㅎ
γ
δ ㅎ
ε ㅎ
ζ ㅎ
η ㅎ
θ ㅎ
ι
κ ㅎ
λ ㅎ
μ ㅎ
ν
ξ ㅎ
ο
π ㅎ
ρ
σ
τ ㅎ
υ
φ ㅎ
χ ㅎ
ψ ㅎ
ω ㅎ