Remix.run Logo
layer8 6 days ago

Keys on the keyboard aren’t characters.

LeoPanthera 6 days ago | parent [-]

Pointless bickering. The minus sign on your keyboard is what 99% of people will hit when they want a dash.

layer8 6 days ago | parent [-]

My point is there’s a whole software stack that determines what character is actually output when you hit that key, based on locale and IME, and also depending on the application. You meant to indicate a specific character, but specifying a key is a bad way to do that. Keyboard controllers don’t work in terms of characters. I could easily configure my OS to output U+2010 HYPHEN for that key by default, for example, and might actually do that for a typesetting application.