Expand description
The Unicode normalization forms NFC, NFD, NFKC and NFKD (Unicode Standard Annex 15), the code points that Unicode assigns, and the characters with no display width.
PostgreSQL uses them in normalize, in IS NORMALIZED and in SASLprep. The tables come from the vendored Unicode data of the PostgreSQL pin, so the result is the same as in PostgreSQL. See spec/07-sql-types-and-catalog.md and spec/22-crate-layout.md section 22.8.
Enums§
- Normal
Form - A Unicode normalization form.
Constants§
- VERSION
- The version of Unicode of the tables in the form major.minor, which
unicode_versiongives.
Functions§
- combining_
class - The canonical combining class of a code point.
- is_
assigned - True when the code point is assigned, that is, its general category is not Cn.
- normalize
- Normalizes a string of code points to a form. The input can hold any
u32, asunicode_normalizeof PostgreSQL can. - normalize_
str - Normalizes a
strto a form. - zero_
width - True when
ucs_wcwidthgives the display width 0: the code point 0 and the non-spacing characters.