Subject: Re: bug#60275: 28.1; chinese-cns11643-15 mapping is wrong

From: [email-masked]
Date: Sat, 24 Dec 2022 00:25:52 +0900

Eli Zaretskii <[email-masked]> writes:

>> From: [email-masked]
>> Date: Fri, 23 Dec 2022 23:19:33 +0900
>> 
>> 
>> Typing 'M-x list-charset-chars RET chinese-cns11643-15 RET',
>> a wrong character set is listed.
>> It contains hangul characters, and looks like korean-ksc5601 charset.
>
> Why do you think this is an error?  CNS11643 has 16 planes and can
> contain up to 141376 characters.  What is your reference for judging
> which characters belong and don't belong to this character set?  Emacs
> uses the glibc mapping.

Reading emacs-28.1/share/emacs/28.1/etc/charsets/CNS-F.map,
there are only UCS values for CJK IDEOGRAPH characters.
The result buffer of #'list-charset-chars contains non-han characters.
For example, '*Character List*' buffer starts with:
	Characters in the coded character set chinese-cns11643-15.
	-----------------------------------------------------------------------
	        0   1   2   3   4   5   6   7   8   9   A   B   C   D   E   F
	   212x	 	¿	ː	∮	∑	∏	¤	℉	‰	◁	◀	▷	▶	♤	♠	♡
	   213x	♥	♧	♣	⊙	◈	▣	◐	◑	▒	▤	▥	▨	▧	▦	▩	♨
	   214x	☏	☎	☜	☞	¶	†	‡	↕	↗	↙	↖	↘	♭	♩	♪	♬
	   215x	㉿	㈜	№	㏇	™	㏂	㏘	℡	€	®	㉾	 	 	 	 	 
	   216x	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 
	   217x	 	！	＂	＃	＄	％	＆	＇	（	）	＊	＋	，	－	．
	-----------------------------------------------------------------------
	        0   1   2   3   4   5   6   7   8   9   A   B   C   D   E   F
	   222x	 	／	０	１	２	３	４	５	６	７	８	９	：	；	＜	＝
	   223x	＞	？	＠	Ａ	Ｂ	Ｃ	Ｄ	Ｅ	Ｆ	Ｇ	Ｈ	Ｉ	Ｊ	Ｋ	Ｌ	Ｍ
	   224x	Ｎ	Ｏ	Ｐ	Ｑ	Ｒ	Ｓ	Ｔ	Ｕ	Ｖ	Ｗ	Ｘ	Ｙ	Ｚ	［	￦	］
	   225x	＾	＿	｀	ａ	ｂ	ｃ	ｄ	ｅ	ｆ	ｇ	ｈ	ｉ	ｊ	ｋ	ｌ	ｍ
	   226x	ｎ	ｏ	ｐ	ｑ	ｒ	ｓ	ｔ	ｕ	ｖ	ｗ	ｘ	ｙ	ｚ	｛	｜	｝
	   227x	￣	ㄱ	ㄲ	ㄳ	ㄴ	ㄵ	ㄶ	ㄷ	ㄸ	ㄹ	ㄺ	ㄻ	ㄼ	ㄽ	ㄾ
	-----------------------------------------------------------------------