ß is the Unicode character LATIN SMALL LETTER SHARP S, code point U+00DF (decimal 223) in the Latin-1 Supplement block, added in Unicode 1.1. In HTML write ß, and in UTF-8 it is the 2 bytes C3 9F.
Codes
| Where | How to write it |
|---|---|
| Code point | U+00DF |
| Decimal | 223 |
| UTF-8 bytes | C3 9F |
| UTF-16 (big-endian) | 00DF |
| UTF-32 | 000000DF |
| HTML decimal | ß |
| HTML hex | ß |
| HTML named | ß |
| CSS | \DF |
| JavaScript | \u00DF |
| JSON | \u00DF |
| Python | \u00DF |
| Python by name | \N{LATIN SMALL LETTER SHARP S} |
| Java, C# | \u00DF |
| Rust, Swift | \u{DF} |
| Go, C, C++ | \u00DF |
| URL (percent-encoded) | %C3%9F |
JavaScript and JSON strings store text as UTF-16, so this character is one code unit long. Python 3 strings count code points, so its length there is 1.
Properties
| Property | Value |
|---|---|
| Name | LATIN SMALL LETTER SHARP S |
| Code point | U+00DF (decimal 223) |
| Block | Latin-1 Supplement (U+0080–U+00FF) |
| General category | Ll: Lowercase letter |
| Script | Latin |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Nearby in Latin-1 Supplement
- × U+00D7 Multiplication Sign
- Ø U+00D8 Latin Capital Letter O With Stroke
- Ù U+00D9 Latin Capital Letter U With Grave
- Ú U+00DA Latin Capital Letter U With Acute
- Û U+00DB Latin Capital Letter U With Circumflex
- Ü U+00DC Latin Capital Letter U With Diaeresis
- Ý U+00DD Latin Capital Letter Y With Acute
- Þ U+00DE Latin Capital Letter Thorn
- à U+00E0 Latin Small Letter A With Grave
- á U+00E1 Latin Small Letter A With Acute
- â U+00E2 Latin Small Letter A With Circumflex
- ã U+00E3 Latin Small Letter A With Tilde
- ä U+00E4 Latin Small Letter A With Diaeresis
- å U+00E5 Latin Small Letter A With Ring Above
- æ U+00E6 Latin Small Letter Ae
- ç U+00E7 Latin Small Letter C With Cedilla
All 128 characters: Latin-1 Supplement.
Official reference
Questions people ask
- What is the HTML code for ß?
- Use the named entity ß, or ß (decimal) or ß (hex).
- What is the UTF-8 encoding of U+00DF?
- C3 9F (hex), 2 bytes. In a URL it is %C3%9F.
- How do I write U+00DF in JavaScript or Python?
- JavaScript: \u00DF. Python: \u00DF.
Source
Unicode Character Database 18.0.0 (Unicode License v3); HTML entity names from the WHATWG HTML Standard (CC BY 4.0). The encodings above are computed from the code point and checked against Python's encoders. How the character looks depends on your fonts.
Legal entity
Devansh Yadav
Moradabad, Uttar Pradesh
Governing law: Courts at Moradabad, Uttar Pradesh
Phone: +91 8433475698
Legal: legal@analyzeit.in