---
id: "unicode_code_point"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["texts", "software"]
langs: ["common"]
quality: 90
url: "https://registry.apicrafter.io/datatype/unicode_code_point"
---

# Unicode code point (`unicode_code_point`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Number of a character in Unicode, written in the notation of the Unicode Standard: U+ and four to six uppercase hexadecimal digits, with leading zeros only up to four digits, in the range U+0000 to U+10FFFF. Wikidata property P4213 and Unicode tables write the digits without the U+ prefix; the regexp requires it, because four bare hexadecimal digits look like any number. Lowercase forms such as u+00e9 occur in data but are not the standard notation.

- Personal data (PII): no
- Categories: Texts and  articles (texts), Software development (software)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^U\+(?:[0-9A-F]{4}|[1-9A-F][0-9A-F]{4}|10[0-9A-F]{4})$
```

## Examples

- `U+0041` — LATIN CAPITAL LETTER A
- `U+20AC` — EURO SIGN
- `U+1F600` — GRINNING FACE
- `U+41` (invalid example) — Fewer than four digits
- `U+110000` (invalid example) — Beyond the last code point U+10FFFF

## Mappings

- wikidata: `P4213`

## Translations

- ru: Кодовая точка Unicode: Номер символа в Unicode в записи стандарта — U+ и от четырёх до шести шестнадцатеричных цифр, от U+0000 до U+10FFFF.

## Sources

- doc: <https://www.unicode.org/versions/Unicode16.0.0/core-spec/appendix-a/>
- wikipedia: <https://en.wikipedia.org/wiki/Code_point>
- wikidata: <https://www.wikidata.org/wiki/Property:P4213>

## Quality

Score 90/100. Missing: detector coverage.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/unicode_code_point.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/texts/unicode_code_point.yaml>
