Cangjie Decomposition Rules (取碼規則) Explained with Examples

The handful of rules that decide every Cangjie code, including head and body, single-unit characters, enclosures and keeping shapes whole, each shown with verified examples.

Key takeaways

  • Split a character in writing order: left before right, top before bottom, outside before inside.
  • Compound characters have a head (字首) and a body (字身). The head keeps first + last codes; the body keeps first + second + last.
  • Single-unit characters keep first, second, third and last: at most four codes.
  • No code exceeds five letters. Keep recognisable shapes whole instead of cutting them into strokes.

Step 1: find the parts in writing order

Every Cangjie code starts with a question: what are this character’s parts, in the order you write them? Chinese characters are written left to right, top to bottom and outside to inside, and Cangjie follows the same order.

CharacterCangjie codeRadicalsQuick
明AB日A月BAB
林DD木D木DDD
思WP田W心PWP
品RRR口R口R口RRR

In 明 AB日月, 日 comes before 月. In 思 WP田心, 田 sits on top of 心. When parts repeat, each is coded: 品 RRR口口口, 森 DDD木木木.

Step 2: decide whether it is single-unit or compound

A compound character (合體字) divides cleanly into two or more parts, side by side, stacked or enclosed. A single-unit character (獨體字) does not: its strokes cross or interlock so there is no clean division. 馬, 車, 東, 重 and 事 are single-unit; 明, 你 and 說 are compound.

Rule for compound characters: head and body

The first part of a compound character is its head (字首) and everything after it is its body (字身).

  • The head keeps at most 2 codes: its first and last.
  • The body keeps at most 3 codes: its first, second and last.

This is why the longest possible code is five letters. The rule shows most clearly when both parts are complex. The speech radical 言 is YMMR on its own, but as a head it keeps only YR. The body 兌 is CRHU and keeps CRU:

CharacterCangjie codeRadicalsQuick
說YRCRU卜Y口R金C口R山UYU
言YMMR卜Y一M一M口RYR
兌CRHU金C口R竹H山UCU

The same pattern is everywhere. 糸 (VIF) becomes VF as a head, and 巠 keeps its first, second and last codes, M V M, giving 經 VFMVM女火一女一. The body of 謝 YRHHI卜口竹竹戈 is 射 (HHDI), which keeps HHI. In 媽 VSQF女尸手火, the body 馬 (SQSF) keeps SQF.

When the head is a single radical, it contributes one code: 你 ONF人弓火, 打 QMN手一弓, 江 EM水一, 情 PQMB心手一月.

Top-bottom characters

The same head/body logic applies vertically. The top part is the head. In 想 DUP木山心, the head 相 (DBU) keeps first and last, D and U, and the body 心 adds P. In 意 YTAP卜廿日心, the first division is 立 over the rest: 立 gives YT and the body 日心 gives AP. 學 HBND竹月弓木 splits into its top (HB) and 子 (ND).

CharacterCangjie codeRadicalsQuick
想DUP木D山U心PDP
意YTAP卜Y廿T日A心PYP
學HBND竹H月B弓N木DHD

Rule for single-unit characters

Single-unit characters take their first, second, third and last radicals, up to four codes. Anything in between is dropped.

CharacterCangjie codeRadicalsQuick
馬SQSF尸S手Q尸S火FSF
車JWJ十J田W十JJJ
重HJWG竹H十J田W土GHG
東DW木D田WDW
事JLLN十J中L中L弓NJN
母WYI田W卜Y戈IWI

重 HJWG竹十田土 is written as a sequence of shapes that Cangjie reads as 竹 十 田 土. 馬 SQSF尸手尸火 keeps S Q S from the start and F (灬) from the end.

Enclosures: the frame comes first

For characters where one part surrounds another, the outside is the head. The enclosure 囗 is W in 國 WIRM田戈口一 and 圓 WRBC田口月金; the gate 門 keeps AN in 問 ANR日弓口 and 閱 ANCRU日弓金口山; the frame of 同 BMR月一口 is B.

The walk radicals 辶 and 廴 are coded first, even though they are written last. So 這 YYMR卜卜一口 is 辶 (Y) plus 言 (YMR), and 建 NKLQ弓大中手 is 廴 (NK) plus 聿 (LQ). 道 YTHU卜廿竹山 is Y plus 首 (THU).

CharacterCangjie codeRadicalsQuick
國WIRM田W戈I口R一MWM
圓WRBC田W口R月B金CWC
閱ANCRU日A弓N金C口R山UAU
這YYMR卜Y卜Y一M口RYR
建NKLQ弓N大K中L手QNQ
道YTHU卜Y廿T竹H山UYU

Keep shapes whole

Choose the decomposition that uses whole, recognisable radicals rather than splitting a shape into loose strokes. 天 MK一大 is 一 + 大, not 二 + 人, because 大 is a radical in its own right. 夫 QO手人 is Q + O. When two splits are possible, the one with fewer, larger components is usually correct.

Checking your answers

These rules produce the right code for the vast majority of characters, but Cangjie also has conventions for particular shapes that take practice, such as 海 (EOWY) and 電 (MBWU). When your answer doesn’t match, look the character up and compare how the dictionary split it. The mismatch usually teaches you a new auxiliary shape. For the classic troublemakers, see difficult Cangjie characters.

Frequently asked questions

What is the maximum length of a Cangjie code?

Five letters: two from the head (字首) and three from the body (字身).

Why does 言 become YR in 說 when 言 alone is YMMR?

As a head, a component keeps only its first and last codes. YMMR shortens to YR.

Is 辶 coded first or last?

First. 辶 and 廴 are treated as the head of the character even though they are written last, so 這 is YYMR.

What if a character can be split more than one way?

Prefer the split that follows writing order and keeps whole radicals. If you are still unsure, use the dictionary: the correct code will show you which split Cangjie uses.

← Learn Cangjie