fi is the Unicode character LATIN SMALL LIGATURE FI, code point U+FB01 (decimal 64257) in the Alphabetic Presentation Forms block, added in Unicode 1.1. In HTML write fi, and in UTF-8 it is the 3 bytes EF AC 81.
Codes
| Where | How to write it |
|---|---|
| Code point | U+FB01 |
| Decimal | 64257 |
| UTF-8 bytes | EF AC 81 |
| UTF-16 (big-endian) | FB01 |
| UTF-32 | 0000FB01 |
| HTML decimal | fi |
| HTML hex | fi |
| HTML named | fi |
| CSS | \FB01 |
| JavaScript | \uFB01 |
| JSON | \uFB01 |
| Python | \uFB01 |
| Python by name | \N{LATIN SMALL LIGATURE FI} |
| Java, C# | \uFB01 |
| Rust, Swift | \u{FB01} |
| Go, C, C++ | \uFB01 |
| URL (percent-encoded) | %EF%AC%81 |
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 LIGATURE FI |
| Code point | U+FB01 (decimal 64257) |
| Block | Alphabetic Presentation Forms (U+FB00–U+FB4F) |
| 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 LIGATURE FI 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.
Nearby in Alphabetic Presentation Forms
- ff U+FB00 Latin Small Ligature Ff
- fl U+FB02 Latin Small Ligature Fl
- ffi U+FB03 Latin Small Ligature Ffi
- ffl U+FB04 Latin Small Ligature Ffl
- ſt U+FB05 Latin Small Ligature Long S T
- st U+FB06 Latin Small Ligature St
- ﬓ U+FB13 Armenian Small Ligature Men Now
- ﬔ U+FB14 Armenian Small Ligature Men Ech
- ﬕ U+FB15 Armenian Small Ligature Men Ini
All 58 characters: Alphabetic Presentation Forms.
Official reference
Questions people ask
- What is the HTML code for fi?
- Use the named entity fi, or fi (decimal) or fi (hex).
- What is the UTF-8 encoding of U+FB01?
- EF AC 81 (hex), 3 bytes. In a URL it is %EF%AC%81.
- How do I write U+FB01 in JavaScript or Python?
- JavaScript: \uFB01. Python: \uFB01.
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