Welcome! Please see the About page for a little more info on how this works.

0 votes
in ClojureScript by
2 issues here:
- two of mark's components are upside down,
- entire mark is applied to wrong letter: {color:red}t{color} instead of {color:red}e{color}.


Lorem ipsum

2 Answers

0 votes
by
_Comment made by: glts_

Same as in Clojure, so probably ‘as designed’.

You’ve picked combining characters here as a reversal that doesn’t work. But ‘semantic’ Unicode-aware string reversal may not even be a meaningful concept. For example, if you reverse a string that uses final sigma such that the sigma is no longer final, will you change it to the non-final sigma instead? There are hundreds of such subtleties in Unicode (see for example, https://www.vidarholen.net/contents/blog/?p=324).
0 votes
by
Reference: https://clojure.atlassian.net/browse/CLJS-3073 (reported by alex+import)
...