\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
c126ef5b5dMerge [310f98ad749150da]: Fix [63325009a8]: \u0400 conversion to and from cesu-8 fails. check-in2024-09-14 13:11:22310f98ad74Fix [63325009a8]: \u0400 conversion to and from cesu-8 fails check-in2024-09-13 21:18:4238bd4fffcaFix [63325009a8]: \u0400 conversion to and from cesu-8 fails. check-in2024-09-13 20:06:39
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.