cesu-8 encoding gives same result for different strings
Closed / Fixed2f22a7364d707d4d2b65bae2d91d5e0459437f95Created 2 years agoUpdated 2 years ago
Descriptionplain2024-08-09 01:38:21
From Julian on the chat:
```
% expr {[encoding convertto cesu-8 \U1f400] eq [encoding convertto cesu-8 \U1f600]}
1
```
Round tripping also fails
```
% encoding convertfrom cesu-8 [encoding convertto cesu-8 \U1f600]
unexpected byte sequence starting at index 0: '\xED'
```
Referenced by3
c037a93385Merge [da1af6e17465fbff]: Fix [2f22a7364d]: cesu-8 encoding gives same result for different strings. check-in2024-08-31 00:59:05da1af6e174Fix [2f22a7364d]: cesu-8 encoding gives same result for different strings check-in2024-08-13 13:32:541fde7637c1Fix [2f22a7364d]: cesu-8 encoding gives same result for different strings check-in2024-08-13 13:27:10
apnadkarniplain2024-08-10 10:05:22
Jan, assigned to you as probably most familiar with the cesu bits. Please assign back to me if you don't have time to look at it.
jan.nijtmanswiki2024-08-13 13:34:43
Fixed [here]
Thanks for the report!
Log in (anonymous is fine) to add a comment.