TIL about the greek question mark

Tell me, can you tell the difference between these two characters?

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

  • qaz@lemmy.world
    link
    fedilink
    arrow-up
    98
    arrow-down
    3
    ·
    1 year ago

    Every syntax highligher shows this and VSCode even has a special case for this, this is not a real issue.

    • Kalash@feddit.ch
      link
      fedilink
      arrow-up
      42
      ·
      1 year ago

      I just tried and it just turns into a proper semicolon and everything works. (Sublime Text).

      That might explain that:

      In Unicode, it is separately encoded as U+037E ; GREEK QUESTION MARK, but the similarity is so great that the code point is normalised to U+003B ; SEMICOLON, making the marks identical in practice.