[Clojure] Unicode display changes unexpectedly
jficloj (0)

The Warning symbol is coloured in the second line, but not in the first line. The space seems to remove/reset the formatting introduced by the first character. Can someone explain this behaviour to me, or even better, help me to force the coloured warning symbol? Thanks!

(str (char 0x274e) " " (char 0x26A0))
(str (char 0x274e) "" (char 0x26A0))

You are viewing a single comment. View All
jficloj (0)

@a5rocks I found out how to control the behaviour, just append the characters U+FE0E VARIATION SELECTOR-15 or U+FE0F VARIATION SELECTOR-16.

So in this case, (str (char 0x26A0)(char 0xfe0f)) would result in the coloured version.