TIL about the greek question mark

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

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

  • LaggyKar
    link
    fedilink
    English
    arrow-up
    11
    ·
    1 year ago

    Rust does. But you get:

    error: unknown start of token: \u{37e}
     --> test.rs:2:30
      |
    2 |     println!("Hello, World!");
      |                              ^
      |
    help: Unicode character ';' (Greek Question Mark) looks like ';' (Semicolon), but it is not
      |
    2 |     println!("Hello, World!");