How can I write the German sharp S or 'eszett' (ß) in a question here?

In LaTeX it is written like {\ss} but that doesn't seem to work.

  • 4
    See german.stackexchange.com/questions/11443/… It can just be typed: ß – Brian Tompsett - 汤莱恩 Aug 16 '18 at 9:26
  • 8
    An eszett isn't a "B" (although it looks like one), it's a "long S" – Cai Aug 16 '18 at 9:53
  • 3
    @Cai: The name long s is reserved for this: ſ. – Wrzlprmft Aug 16 '18 at 10:29
  • 5
    @Wrzl oh yeh, I meant "sharp S", not sure why I said that... the important point is, it's not a "B" – Cai Aug 16 '18 at 10:33
  • 1
    On the most common German keyboard layout, it is right from the "0". You don't need more tricks, it is part of the ordinary latin1 code table, it is essentially a character with accents like ö. – peterh - Reinstate Monica Aug 19 '18 at 20:02

Stack Exchange has full Unicode support. This means you just need to type the character into the post body, or copy it from somewhere.

In Windows, you can use Alt + Num2 + Num2 + Num5, or using the character map.

In macOS, you can long press S to get it.

| improve this answer | |

You can use the HTML entity: ß produces ß. Or just copy it over from other posts, since it's part of Unicode.

| improve this answer | |
  • 3
    The HTML entity will work in Questions and in Answers, but not in comments. – Jeff Zeitlin Aug 16 '18 at 11:24
  • 1
    Ah, good catch. Luckily the OP asked how to write it in a question... – Glorfindel Aug 16 '18 at 11:25
  • ß doesn’t work in titles. Although, you could just copy-paste one ß from the post to the title. – user289905 Aug 16 '18 at 14:52

I have my keyboard set for US-International, rather than the default EN-US layout. On a US-INT keyboard, AltGr-s produces the ß. Note that the US-INT keyboard does not support the recently-defined uppercase ß (ẞ); for that, I had to hack together an AutoHotKey script.

(AltGr is the right Alt key.)

| improve this answer | |

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .