Hacker News new | past | comments | ask | show | jobs | submit login

It's accidental, because other characters are also displayed: https://duckduckgo.com/?q=u20aa



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)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: