Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2024-09-19
10:42 • Ticket [63325009a8] \u0400 conversion to and from cesu-8 fails. status still... artifact: 202318ccfe user: pooryorick
10:04 • Closed ticket [63325009a8]. artifact: 3a08e12ad1 user: jan.nijtmans
09:15 • Open ticket [63325009a8]. artifact: 87ce74c4b3 user: pooryorick
2024-09-18
13:34 • Closed ticket [63325009a8]. artifact: acf5c826f7 user: jan.nijtmans
2024-09-14
13:11
Merge [310f98ad749150da]: Fix [63325009a8]: \u0400 conversion to and from cesu-8 fails. check-in: c126ef5b5d user: pooryorick tags: unchained, INCOMPATIBLE_LICENSE
07:39 • Open ticket [63325009a8]: \u0400 conversion to and from cesu-8 fails. plus 4... artifact: dcbde74a00 user: pooryorick
07:03 • Ticket [63325009a8]: 6 changes artifact: 821f35bbed user: pooryorick
2024-09-13
21:21 • Closed ticket [63325009a8]. artifact: 79bb1c15b3 user: jan.nijtmans
21:18
Fix [63325009a8]: \u0400 conversion to and from cesu-8 fails check-in: 310f98ad74 user: jan.nijtmans tags: trunk, main
20:06
Fix [63325009a8]: \u0400 conversion to and from cesu-8 fails. check-in: 38bd4fffca user: jan.nijtmans tags: core-8-branch
18:43 • Ticket [63325009a8] \u0400 conversion to and from cesu-8 fails. status still... artifact: 1245a0cb1c user: pooryorick
18:43 • New ticket [63325009a8]. artifact: 5ecd6fba9a user: pooryorick

\u0400 conversion to and from cesu-8 fails.

Closed / Fixed63325009a85c176310f2ee2cc3a2ba22cf442a7bCreated 2 years agoUpdated 2 years ago
Descriptionwiki2024-09-13 18:43:13
The following script,

set char \u0400
set converted [::encoding convertto cesu-8 $char]
set back [::encoding convertfrom cesu-8 $converted]

results in the error,

unexpected byte sequence starting at index 0: '\xE0'
Referenced by3
pooryorick Ticket [63325009a8]: 3 changes [History diff]2024-09-13 18:43:24
jan.nijtmanswiki2024-09-13 21:21:37

Fixed [here]

Thanks!

pooryorickwiki2024-09-14 07:03:32

The new test included in this fix converts to utf-8, not cesu-8. Is that intentional?

pooryorick Open ticket [63325009a8]. [History diff]2024-09-14 07:39:37
jan.nijtmans Closed ticket [63325009a8]. [History diff]2024-09-18 13:34:49
pooryorickwiki2024-09-19 09:15:07

Shouldn't test "encoding-15.33" use cesu-8 instead of utf-8?

jan.nijtmanswiki2024-09-19 10:04:20

It does use cesu-8

pooryorickwiki2024-09-19 10:42:26

Got. I was looking at the original commit for the fix and didn't see the update. Thanks!

Log in (anonymous is fine) to add a comment.