[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#51292: 27.2; Reversing strings with unicode combining characters
From: |
Howard Melman |
Subject: |
bug#51292: 27.2; Reversing strings with unicode combining characters |
Date: |
Tue, 19 Oct 2021 15:16:27 -0400 |
Reversing a string fails to account for unicode combining characters
(reverse "nai\u0308ve")
"ev̈ian"
Note the diaeresis is now on the v and not the i. s-reverse gets it right:
(s-reverse "nai\u0308ve")
"evïan"
I tried on both:
GNU Emacs 27.2 (build 1, x86_64-apple-darwin18.7.0, Carbon Version 158 AppKit
1671.6) of 2021-03-27
GNU Emacs 27.1 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 Version
10.14.6 (Build 18G95)) of 2020-08-12
--
Howard
- bug#51292: 27.2; Reversing strings with unicode combining characters,
Howard Melman <=
- bug#51292: 27.2; Reversing strings with unicode combining characters, Lars Ingebrigtsen, 2021/10/19
- bug#51292: 27.2; Reversing strings with unicode combining characters, Lars Ingebrigtsen, 2021/10/19
- bug#51292: 27.2; Reversing strings with unicode combining characters, Stefan Kangas, 2021/10/19
- bug#51292: 27.2; Reversing strings with unicode combining characters, Lars Ingebrigtsen, 2021/10/20
- bug#51292: 27.2; Reversing strings with unicode combining characters, Stefan Kangas, 2021/10/20
- bug#51292: 27.2; Reversing strings with unicode combining characters, Lars Ingebrigtsen, 2021/10/20
- bug#51292: 27.2; Reversing strings with unicode combining characters, Stefan Kangas, 2021/10/20
- bug#51292: 27.2; Reversing strings with unicode combining characters, Eli Zaretskii, 2021/10/20