ſ is the Unicode character LATIN SMALL LETTER LONG S, code point U+017F (decimal 383) in the Latin Extended-A block, added in Unicode 1.1. In HTML write ſ, and in UTF-8 it is the 2 bytes C5 BF.
Codes
| Where | How to write it |
|---|---|
| Code point | U+017F |
| Decimal | 383 |
| UTF-8 bytes | C5 BF |
| UTF-16 (big-endian) | 017F |
| UTF-32 | 0000017F |
| HTML decimal | ſ |
| HTML hex | ſ |
| CSS | \17F |
| JavaScript | \u017F |
| JSON | \u017F |
| Python | \u017F |
| Python by name | \N{LATIN SMALL LETTER LONG S} |
| Java, C# | \u017F |
| Rust, Swift | \u{17F} |
| Go, C, C++ | \u017F |
| URL (percent-encoded) | %C5%BF |
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 LONG S |
| Code point | U+017F (decimal 383) |
| Block | Latin Extended-A (U+0100–U+017F) |
| 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 |
Decomposition
LATIN SMALL LETTER LONG S has a compatibility decomposition (compat) to the sequence below. NFKC and NFKD normalisation replace it with that sequence, which can change how text looks, so use them for search, not for storage.
Upper and lower case
- S U+0053 Latin Capital Letter S — Uppercase
Nearby in Latin Extended-A
- ŷ U+0177 Latin Small Letter Y With Circumflex
- Ÿ U+0178 Latin Capital Letter Y With Diaeresis
- Ź U+0179 Latin Capital Letter Z With Acute
- ź U+017A Latin Small Letter Z With Acute
- Ż U+017B Latin Capital Letter Z With Dot Above
- ż U+017C Latin Small Letter Z With Dot Above
- Ž U+017D Latin Capital Letter Z With Caron
- ž U+017E Latin Small Letter Z With Caron
All 128 characters: Latin Extended-A.
Official reference
Questions people ask
- What is the HTML code for ſ?
- Use ſ (decimal) or ſ (hex).
- What is the UTF-8 encoding of U+017F?
- C5 BF (hex), 2 bytes. In a URL it is %C5%BF.
- How do I write U+017F in JavaScript or Python?
- JavaScript: \u017F. Python: \u017F.
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