Various issues with core-8-6-branch, TCL_UTF_MAX=4
Closed / Fixed9d0cb35bb260afe6bc371bafcce453f0f60c4d59Created 7 years agoUpdated 42 days ago
Descriptionplain2020-05-04 06:33:13
Referring to check-in [0de2fe18d1] and building with TCL_UTF_MAX=4 (other variants not considered):
* tip389 test constraint is masked at least in utf.test which indicates that something is wrong with the constraint condition
* shimmering from/to unicode rep gives strangeness, ex.
% set x [string range aaa 0 1]\ud83d
aa���
% set x [string range $x 0 1]\ud83d
aa���
% append x [string range $x 0 1]
aa
%
* INST_STR_INDEX case should use TclUCS4ToUtf() like StringIndexCmd()
Referenced by1
af513d6a16(partial) fix for [9d0cb35bb2]: Various issues with core-8-6-branch, TCL_UTF_MAX=4. (even though TCL_UTF_MAX=4 is unsupported, it would be nice to make it work) Marked various test-cases as "knownBug", those work correctly in core-8-branch (8.7). The fix there could be backported. Low prio. check-in2020-05-04 08:35:44
jan.nijtmans Ticket [9d0cb35bb2]: 3 changes
[History diff]2020-05-04 08:01:45
jan.nijtmanswiki2020-05-04 09:02:08
Part of the trouble for TCL_UTF_MAX>3 comes from this commit: [1c7c61d45988fccd]. It was meant as quickfix for TCL_UTF_MAX=3 only.
So the "tip389" selector is fixed now, again. Not everything related to tip389 is backported from core-8-branch, therefore marked a few (new) testcases as "knownBug". Not high prio to fix those, but - anyway - I'll keep this ticket open as a reminder to make it work.
Thanks!
serhiy.storchakawiki2026-10-15 11:29:07
Closing: fixed, see above.
serhiy.storchaka Ticket [9d0cb35bb2]: 3 changes
[History diff]2026-10-22 17:19:26
Log in (anonymous is fine) to add a comment.