ー is the Unicode character HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK, code point U+FF70 (decimal 65392) in the Halfwidth and Fullwidth Forms block, added in Unicode 1.1. In HTML write ー, and in UTF-8 it is the 3 bytes EF BD B0.
Codes
| Where | How to write it |
|---|---|
| Code point | U+FF70 |
| Decimal | 65392 |
| UTF-8 bytes | EF BD B0 |
| UTF-16 (big-endian) | FF70 |
| UTF-32 | 0000FF70 |
| HTML decimal | ー |
| HTML hex | ー |
| CSS | \FF70 |
| JavaScript | \uFF70 |
| JSON | \uFF70 |
| Python | \uFF70 |
| Python by name | \N{HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK} |
| Java, C# | \uFF70 |
| Rust, Swift | \u{FF70} |
| Go, C, C++ | \uFF70 |
| URL (percent-encoded) | %EF%BD%B0 |
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 | HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK |
| Code point | U+FF70 (decimal 65392) |
| Block | Halfwidth and Fullwidth Forms (U+FF00–U+FFEF) |
| General category | Lm: Modifier letter |
| Script | Common |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Decomposition
HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK has a compatibility decomposition (narrow) 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.
Nearby in Halfwidth and Fullwidth Forms
- ィ U+FF68 Halfwidth Katakana Letter Small I
- ゥ U+FF69 Halfwidth Katakana Letter Small U
- ェ U+FF6A Halfwidth Katakana Letter Small E
- ォ U+FF6B Halfwidth Katakana Letter Small O
- ャ U+FF6C Halfwidth Katakana Letter Small Ya
- ュ U+FF6D Halfwidth Katakana Letter Small Yu
- ョ U+FF6E Halfwidth Katakana Letter Small Yo
- ッ U+FF6F Halfwidth Katakana Letter Small Tu
- ア U+FF71 Halfwidth Katakana Letter A
- イ U+FF72 Halfwidth Katakana Letter I
- ウ U+FF73 Halfwidth Katakana Letter U
- エ U+FF74 Halfwidth Katakana Letter E
- オ U+FF75 Halfwidth Katakana Letter O
- カ U+FF76 Halfwidth Katakana Letter Ka
- キ U+FF77 Halfwidth Katakana Letter Ki
- ク U+FF78 Halfwidth Katakana Letter Ku
All 225 characters: Halfwidth and Fullwidth Forms.
Official reference
Questions people ask
- What is the HTML code for ー?
- Use ー (decimal) or ー (hex).
- What is the UTF-8 encoding of U+FF70?
- EF BD B0 (hex), 3 bytes. In a URL it is %EF%BD%B0.
- How do I write U+FF70 in JavaScript or Python?
- JavaScript: \uFF70. Python: \uFF70.
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