PostgreSQL Source Code git master
Loading...
Searching...
No Matches
unicode_norm.h
Go to the documentation of this file.
1/*-------------------------------------------------------------------------
2 *
3 * unicode_norm.h
4 * Routines for normalizing Unicode strings
5 *
6 * These definitions are used by both frontend and backend code.
7 *
8 * Copyright (c) 2017-2026, PostgreSQL Global Development Group
9 *
10 * src/include/common/unicode_norm.h
11 *
12 *-------------------------------------------------------------------------
13 */
14#ifndef UNICODE_NORM_H
15#define UNICODE_NORM_H
16
24
25/* see UAX #15 */
32
33extern char32_t *unicode_normalize(UnicodeNormalizationForm form, const char32_t *input);
34
36
37#endif /* UNICODE_NORM_H */
FILE * input
static int fb(int x)
UnicodeNormalizationForm
@ UNICODE_NFKD
@ UNICODE_NFD
@ UNICODE_NFC
@ UNICODE_NFKC
UnicodeNormalizationQC unicode_is_normalized_quickcheck(UnicodeNormalizationForm form, const char32_t *input)
UnicodeNormalizationQC
@ UNICODE_NORM_QC_YES
@ UNICODE_NORM_QC_NO
@ UNICODE_NORM_QC_MAYBE
char32_t * unicode_normalize(UnicodeNormalizationForm form, const char32_t *input)