Pure Evil

realitista@lemmy.world to Programmer Humor@programming.dev – 437 points –
56

You are viewing a single comment

Technically I don't think any Greek layout uses a different Unicode codepoint for the question mark. In fact, the ordinary semicolon symbol is used, so what the meme describes would probably not happen IRL.

Does all this make it any less funnier? No. It's still brilliant.

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.

Source: https://en.wikipedia.org/wiki/Question_mark

I'm still curious whether it would be accepted by the code interpreters / compilers of various languages. I'm not bold enough to assume they all normalise properly.

Unicode should have enforced the principle of using the same encoding for similar looking characters like they did with CJK instead of allowing bullshit like the Cyrillic "o" or the Greek question mark.