Hacker News new | ask | show | jobs
by iqanq 1589 days ago
It's accidental, because other characters are also displayed: https://duckduckgo.com/?q=u20aa
2 comments

Yes, but this is not a printable character.

None of these will be shown, but ddg will recognise them as control characters though. https://www.compart.com/en/unicode/category/Cc

It's intentional, because there is no RTL override in the HTML source, the string is merely reversed.
> no RTL override in the HTML source, the string is merely reversed

What? After opening the source, ctrl-f "representation" selects the reversed word. The source view just happens to interpret the RTL override.

but there is, see:

  document.querySelector(".zci__body").textContent.charCodeAt(0)
  document.querySelector(".zci__body").textContent.substring(1)