3

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.

5
  • 4
    See german.stackexchange.com/questions/11443/… It can just be typed: ß Commented Aug 16, 2018 at 9:26
  • 8
    An eszett isn't a "B" (although it looks like one), it's a "long S"
    – Cai
    Commented Aug 16, 2018 at 9:53
  • 3
    @Cai: The name long s is reserved for this: ſ.
    – Wrzlprmft
    Commented Aug 16, 2018 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
    Commented Aug 16, 2018 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
    Commented Aug 19, 2018 at 20:02

3 Answers 3

12

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.

0
11

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

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

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.)

You must log in to answer this question.

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