{{Short description|National standard coded character set of the Republic of China (Taiwan)}} {{Infobox character encoding | image = | caption = | name = CNS 11643 | mime = | alias = CSIC (Chinese Standard Interchange Code) | standard = CNS 11643 | lang = Traditional Chinese | status = | encodings= {{plainlist}} * EUC-TW (all planes) * ISO-2022-CN-EXT (planes 1&ndash;7) * ISO-2022-CN (planes 1 and 2) * MS-20000 (planes 1 and 2) * Big5 (planes 2 and most of 1) {{endplainlist}} | extends = | prev = | next = | otherrelated = Big5, CCCII | classification = ISO 2022, DBCS, CJK encoding }} The '''CNS 11643''' character set (Chinese National Standard 11643), also officially known as the '''Chinese Standard Interchange Code''' or '''CSIC'''<ref>{{cite iso-ir |number=171 |title=Chinese Standard Interchange Code (CSIC) - Set 1 |date=1993-01-21 |sponsor=ECMA |sponsor-link=Ecma International}}</ref> ({{lang-zh|tr=|t=中文標準交換碼}}), is officially the standard character set of Taiwan (Republic of China). Published and draft editions of CNS 11643 remain the source standards for Unicode reference glyphs for CJK Unified Ideographs submitted for use in Taiwan,<ref name="unihan-tsource">{{cite web |url=https://www.unicode.org/reports/tr38/#kIRG_TSource |id=UAX #38 |title=kIRG_TSource |work=Unicode Han Database (Unihan) |type=Unicode Standard Annex |institution=Unicode Consortium |first1=Ken |last1=Lunde |author-link1=Ken Lunde |first2=Richard |last2=Cook |date=2024-07-31 |version=Revision 37}}</ref> and the character repertoire of CNS 11643 continues to be updated and used for administrative purposes in Taiwan.<ref name="irgn2486"/>

EUC-TW is an encoded representation of CNS 11643 and ASCII in Extended Unix Code (EUC) form. In practice, variants of the Big5 character set, which is closely related to the first two planes of CNS 11643, served as the ''de facto'' standard encoding for Traditional Chinese before the introduction of Unicode. Other encodings capable of representing certain CSIC planes include ISO-2022-CN (planes 1 and 2) and ISO-2022-CN-EXT (planes 1 through 7).

==Structure== CNS 11643 is designed to conform to ISO 2022, although only the first seven 94×94-character planes have ISO-IR registrations. The total number of planes has varied with successive revisions of the standard; the most recent pending drafts have 19 planes,<ref name="unihan-tsource"/> so the maximum possible number of encodable characters across all planes is 19×94×94 = 167884. Planes 1 through 7 are defined by the standard; since 2007, planes 10 through 15 have also been defined by the standard.<ref name="lundebook" />{{rp|115–122}} Prior to this, planes 12 to 15 (35344 code points) were specifically designated for user-defined characters.{{citation needed|date=February 2020}} Unlike CCCII, the encoding of variant characters in CNS 11643 is not related.

==History== The first edition of the standard was published in 1986, and included planes 1 and 2, deriving from levels 1 and 2 of Big5, with some re-ordering due to corrected stroke counts, two duplicate characters being omitted, and the addition of 213 classical radicals in plane 1 (out of 214 Kangxi radicals, of which 210 are effectively duplicates of existing Big5 characters and the remaining three of HKSCS characters;<ref name="utc-l2-22-288">{{cite web |url=https://www.unicode.org/L2/L2022/22288-kbigfive-property-enhancement.pdf |id=UTC L2/22-288 |last=Lunde |first=Ken |author-link=Ken Lunde |date=2022-11-30 |title=Proposal to enhance the provisional kBigFive property}}</ref> see also Kangxi Radicals (Unicode block)). Extensions to the standard were subsequently published in 1988 (6319 characters, occupying plane 14) and 1990 (7169 characters, occupying plane 15).<ref name="lundebook">{{cite book |last=Lunde |first=Ken |author-link=Ken Lunde |title=CJKV Information Processing |edition=2nd |date=2008 |publisher=O'Reilly Media |chapter=3. Character Set Standards |isbn=9780596514471}}</ref>{{rp|115–122}}

Unicode 1.0.0, although it did not yet include hanzi, included characters for compatibility with CNS 11643: the CJK Compatibility Forms block was titled "CNS 11643 Compatibility" in Unicode 1.0.0.<ref>{{cite web |url=https://www.unicode.org/versions/Unicode1.0.0/CodeCharts2.pdf |work=The Unicode Standard |version=version 1.0 |title=3.8: Block-by-Block Charts |publisher=Unicode Consortium}}</ref> When the Unicode CJK Unified Ideographs set was being compiled for Unicode 1.0.1, the national bodies submitted character sets to the CJK Joint Research Group for inclusion. The version of CNS 11643 submitted included the plane 14 extension, in addition to further desired characters appended to plane 14 (after 68–21, the last used code point in the standard version of the extension).<ref name="lundebook" />{{rp|179–180}}

In the second edition of the standard, published in 1992, a much larger collection of hanzi was defined across seven planes. The majority of the 1988 plane 14 extension, comprising the 6148 code points 01-01 through 66–38, was adopted as plane 3 (with the remaining 171 characters, code points 66-39 through 68–21, being instead distributed amongst plane 4). The plane 15 extension was not included, although 338 of its characters were included amongst planes 4 through 7.<ref name="lundebook" />{{rp|115–122}}

The third edition of the standard, published in 2007, added the Euro sign, ideographic zero, kana and extensions to the existing bopomofo and Roman alphabet support to plane 1. It introduced planes 10 through 14, containing additional hanzi, and incorporated the existing plane 15 extension into the standard itself (with gaps left where the characters already existed in planes 4 through 7). It also added 128 further hanzi to plane 3, starting at code point 68–40,<ref name="lundebook" />{{rp|115–122}} based on the additions to the version of the 1988 plane 14 which had been submitted for inclusion in Unicode.

===Plane numbering===

{|class=wikitable |+ CNS 11643 plane numbering in different editions, drafts or implementations |- !scope=row|Plane !T1||T2||(<abbr title="User-Defined Characters">UDC</abbr>)||(IBM)||T3||TF||T4||T5||T6||T7||(Post-1992)||(Post-2007) |- !ISO-IR !171||172|| -|| -||183{{efn|name=range1}}|| -||184||185||186||187|| -|| - |- !1986 edition |1||2||12–15|| -|| -|| -|| -|| -|| -|| -|| -|| - |- !IBM code page 964<ref>{{cite web |url=https://raw.githubusercontent.com/unicode-org/icu-data/refs/heads/main/charset/data/ucm/ibm-964_P110-1999.ucm |title=IBM-964_P110-1999 |work=ICU Data Repository |publisher=IBM/Unicode Consortium |date=2009 |orig-date=1999}}</ref> |1||2||12||13|| -|| -|| -|| -|| -|| -|| -|| - |- !1988 extension |1||2||12–13|| -||14{{efn|{{code|01-01}}—{{code|66-38}} and {{code|66-39}}—{{code|68-21}} ranges|name=ranges12}}|| -|| -|| -|| -|| -|| -|| - |- !1990 extension |1||2||12–13|| -||14{{efn|name=ranges12}}||15|| -|| -|| -|| -|| -|| - |- !CJK-JRG version |1||2|| -|| -||14{{efn|{{code|01-01}}—{{code|66-38}}, {{code|66-39}}—{{code|68-21}} and {{code|68-40}}—{{code|71-10}} ranges}}|| -|| -|| -|| -|| -|| -|| - |- !1992 edition |1||2||12–15|| -||3{{efn|{{code|01-01}}—{{code|66-38}} range only|name=range1}}|| -||4||5||6||7|| -|| - |- !ICU 2000<ref>{{cite web |url=https://raw.githubusercontent.com/unicode-org/icu/0866e20efbc7d3507d61e6facccd7b8de097f69f/icu4c/source/data/mappings/cns-11643-1992.ucm |title=CNS-11643-1992 |date=2003 |orig-date=2000-08-30 |first=Raghuram |last=Viswanadha |publisher=IBM/Unicode Consortium |work=International Components for Unicode}}</ref> |1||2|| -|| -||3{{efn|{{code|01-01}}—{{code|66-38}} and {{code|68-40}}—{{code|71-10}} ranges|name=ranges13}}||9||4||5||6||7|| -|| - |- !2007 edition |1||2|| -|| -||3{{efn|name=ranges13}}||15||4||5||6||7||8–14|| - |- !ICU 2014<ref>{{cite web |url=https://raw.githubusercontent.com/unicode-org/icu/master/icu4c/source/data/mappings/euc-tw-2014.ucm |title=EUC-TW-2014: Update of EUC-TW based on IBM-964 |date=2014 |publisher=IBM/Unicode Consortium |work=International Components for Unicode}}</ref> |1||2||12||13||3{{efn|name=ranges13}}||15||4||5||6||7|| -|| - |- !Post-2007<ref name="unihan-tsource"/> |1||2|| -|| -||3{{efn|{{code|01-01}}—{{code|66-38}} and {{code|68-40}}—{{code|71-10}} ranges, plus additions<ref>e.g. {{cite web |mode=cs2 |url=https://www.unicode.org/cgi-bin/GetUnihanData.pl?codepoint=2E83A |title=Unihan data for U+2E83A |work=Unihan Database Lookup |publisher=Unicode Consortium}} has the source reference {{code|T3-6734}}, i.e. plane 3 code point {{code|71-20}}.</ref>}}||15||4||5||6||7||8–14||16–19 |} {{notelist}}

==Current purpose and relationship to Unicode== The CNS 11643 repertoire includes characters used for administrative purposes in Taiwan, including household registration and ID cards,<ref name="irgn2486">{{cite web |url=https://www.unicode.org/irg/docs/n2486-T_2021_sub.pdf |title=TCA’s submission for the CJK extension IRG Working Set 2021 |id=ISO/IEC JTC1/SC2/WG2/IRG N2486 |date=2021-05-07}}</ref> in addition to characters used in education.<ref name="about-glyph-normalisation">{{cite web |url=https://www.unicode.org/irg/docs/n2546-TSourceGlyphIssues.pdf#page=3 |title=4. About glyph normalization |work=Response to normalization and meaning issues on TCA characters in WS2021 |date=2022-03-14 |id=ISO/IEC JTC1/SC2/WG2/IRG N2546 |pages=3–5}}</ref> In particular, characters in planes 1 and 2 are used in education.<ref name="irgn2580">{{cite web |url=https://www.unicode.org/irg/docs/n2580-TSourceChanges.pdf |title=T-Source Glyph Correction and Horizontal Extension |date=2022-10-18 |id=ISO/IEC JTC1/SC2/WG2/IRG N2580}}</ref> Only the characters used in education are subjected to glyph-form normalisation in CNS 11643.<ref name="about-glyph-normalisation"/> It continues to be expanded, with additional planes numbered up to 19 having been drafted, but not yet published as part of a CNS 11643 edition.<ref name="unihan-tsource"/> A 2022 amendment to the 2007 edition appended {{unichar|7934}} to the end of plane 2, and corrected several glyph forms in planes 1 and 2.<ref name="irgn2580"/>

Although the 1992 and 2007 editions of CNS 11643, in addition to more recent working drafts, serve as the Unihan sources for reference glyphs for CJK Unified Ideographs submitted for use in Taiwan,<ref name="unihan-tsource"/> there remains, {{as of|2017|lc=1}}, several thousand CNS 11643 characters with no corresponding Unicode character, or which do not round-trip through Unicode, mostly in planes 10 through 14. These are mapped to the Unicode Supplementary Private Use Area.<ref>{{cite web |url=http://chinesemac.org/pages/character_sets/CNS/CNS_Unicode_15.html |title=CNS 11643 in Unicode's Supplementary Private Use Area |work=[chinese mac] |publisher=Council on East Asian Studies at Yale University}}</ref>

In some cases, two or more CNS 11643 characters correspond to a single Unicode CJK Unified Ideograph. These cases are (except where covered by the CJK Compatibility Ideographs Supplement block) currently mapped to Unicode Supplementary Private Use Area code points,<ref name="about-glyph-normalisation"/> but the Taipei Computer Association, participating in the Ideographic Research Group, has been evaluating the feasibility of registering them as Ideographic Variation Sequences at some point in the future.<ref name="about-glyph-normalisation"/><ref>{{cite web |url=https://www.unicode.org/irg/docs/n2502-TCAActivityReport.pdf |title=Activity Report from TCA |author=Taipei Computer Association |date=2021-09-10 |id=ISO/IEC JTC1/SC2/WG2/IRG N2502}}</ref>

==Relationship to Big5== Levels 1 and 2 of the Big5 encoding correspond mostly to CNS 11643 planes 1 and 2, respectively, with occasional differences in order, and with two duplicate hanzi existing in Big5 but not in CNS 11643. They can be mapped using a list of ranges.<ref>{{citation|mode=cs1 |section=4.3: CJK Character Set Compatibility Issues - Chinese (Taiwan) |url=https://ccjktype.fonts.adobe.com/wp-content/uploads/2013/09/cjk_inf.txt |title=CJK.INF Version 1.9 |first=Ken |last=Lunde |author-link=Ken Lunde |date=1995-12-18}}</ref><ref name="rfc1922">{{citation|mode=cs1 |title=RFC 1922: Chinese Character Encoding for Internet Messages |url=https://tools.ietf.org/html/rfc1922 |first1=HF. |last1=Zhu |first2=DY. |last2=Hu |first3=ZG. |last3=Wang |first4=TC. |last4=Kao |first5=WCH. |last5=Chang |first6=M. |last6=Crispin |publisher=IETF |work=Requests for Comments |date=1996}}</ref> However, the 213 classical radicals in CNS 11643 plane 1 are additional to the characters available in Big5 (although they can be lossily mapped to the corresponding hanzi characters in Big5 or HKSCS),<ref name="utc-l2-22-288"/> and further additional characters were added to CNS 11643 plane 1 in 2007.<ref name="lundebook"/>{{rp|115–122}} The Big5-2003 variant of Big5 is defined as a partial encoding of CNS 11643.

Within the Big5 hanzi repertoire, only one plane 1 character is conventionally mapped to Unicode differently from the corresponding character from the first two CNS 11643 planes: to U+5F5D (彝), whereas its CNS plane 1 counterpart is mapped to a related variant at U+5F5E (彞);<ref>{{cite web |url=https://ccjktype.fonts.adobe.com/2018/02/exploring-iicore-part-4.html |last=Lunde |first=Ken |author-link=Ken Lunde |date=2018-02-15 |work=CJK Type Blog |publisher=Adobe Inc |title=Exploring IICore—Part 4}}</ref> U+5F5D is separately included in CNS 11643 plane 3.<ref name="utc-l2-22-288"/> However, some variant mappings for Big5, such as some defined by IBM, include U+5F5E rather than U+5F5D.<ref>{{cite web |url=https://icu4c-demos.unicode.org/icu-bin/convexp?conv=ibm-950_P110-1999&b=C2&s=ALL |title=ibm-950_P110-1999 (lead byte 0xC2) |work=International Components for Unicode Converter Explorer |publisher=Unicode Consortium |archive-url=https://web.archive.org/web/20210712082502/https://icu4c-demos.unicode.org/icu-bin/convexp?conv=ibm-950_P110-1999&b=C2&s=ALL |archive-date=2021-07-12}}</ref> Similarly, a single character from Big5 level 2 (including its IBM variant)<ref name="ibm-950-ucm">{{cite web |url=https://github.com/unicode-org/icu-data/blob/main/charset/data/ucm/ibm-950_P110-1999.ucm |title=ibm-950_P110-1999.ucm |work=ICU Data Repository |publisher=IBM/Unicode Consortium |date=2007 |quotation=<code><U5284> \xE3\x5A {{pipe}}0</code>}}</ref> is mapped to a different Unicode code point than its CNS 11643 plane 2 counterpart: to U+5284 (劄), while the Unihan database currently maps the CNS 11643 character to U+7B9A (箚); U+5284 appears in CNS 11643 plane 14.<ref name="utc-l2-22-288"/>

==References== * This page is based on the information on the [http://www.cns11643.gov.tw CNS official web site]. {{reflist}}

==External links== * [https://www.cns11643.gov.tw/index.jsp?lang=en CNS 11643 official web site] * [https://data.gov.tw/dataset/5961 Current CNS 11643 open data], including mapping data * [https://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/OTHER/CNS11643.TXT Unicode Consortium mappings for CNS 11643-1986]: planes 1 and 2, plus the 1988 plane 14 (not the 2007 plane 14) with extensions. Uses a single prefixed hex digit to indicate plane. * CNS 11643 mappings from International Components for Unicode (ICU): ** "CNS-11643-1992": [https://raw.githubusercontent.com/unicode-org/icu/0866e20efbc7d3507d61e6facccd7b8de097f69f/icu4c/source/data/mappings/cns-11643-1992.ucm original version], [https://raw.githubusercontent.com/unicode-org/icu/master/icu4c/source/data/mappings/cns-11643-1992.ucm current version]. The original version of the mapping includes standard planes 1–7 but includes the plane 15 layout as plane 9; the current version includes only planes 1 and 2. Uses prefixed 0x81 through 0x89 to indicate plane. ** [https://raw.githubusercontent.com/unicode-org/icu/master/icu4c/source/data/mappings/euc-tw-2014.ucm "EUC-TW-2014"]: standard assignments for planes 1 through 7 and 15, and IBM corporate assignments in planes 12 and 13. CNS codes in EUC format with two-byte plane 1. * ISO-IR registered CNS-11643 code charts: [https://www.itscj-ipsj.jp/ir/171.pdf plane 1], [https://www.itscj-ipsj.jp/ir/172.pdf plane 2], [https://www.itscj-ipsj.jp/ir/183.pdf plane 3], [https://www.itscj-ipsj.jp/ir/184.pdf plane 4], [https://www.itscj-ipsj.jp/ir/185.pdf plane 5], [https://www.itscj-ipsj.jp/ir/186.pdf plane 6], [https://www.itscj-ipsj.jp/ir/187.pdf plane 7]

{{character encoding}}

Category:Chinese character encodings