php-internal-docs
8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
normalizer.h
Go to the documentation of this file.
1
/*
2
+----------------------------------------------------------------------+
3
| This source file is subject to version 3.01 of the PHP license, |
4
| that is bundled with this package in the file LICENSE, and is |
5
| available through the world-wide-web at the following url: |
6
| https://www.php.net/license/3_01.txt |
7
| If you did not receive a copy of the PHP license and are unable to |
8
| obtain it through the world-wide-web, please send a note to |
9
| license@php.net so we can mail you a copy immediately. |
10
+----------------------------------------------------------------------+
11
| Authors: Ed Batutis <ed@batutis.com> |
12
+----------------------------------------------------------------------+
13
*/
14
15
#ifndef NORMALIZER_NORMALIZER_H
16
#define NORMALIZER_NORMALIZER_H
17
18
#include <
php.h
>
19
#include <unicode/utypes.h>
20
#if U_ICU_VERSION_MAJOR_NUM < 56
21
#include <unicode/unorm.h>
22
23
#define NORMALIZER_FORM_D UNORM_NFD
24
#define NORMALIZER_NFD UNORM_NFD
25
#define NORMALIZER_FORM_KD UNORM_NFKD
26
#define NORMALIZER_NFKD UNORM_NFKD
27
#define NORMALIZER_FORM_C UNORM_NFC
28
#define NORMALIZER_NFC UNORM_NFC
29
#define NORMALIZER_FORM_KC UNORM_NFKC
30
#define NORMALIZER_NFKC UNORM_NFKC
31
#define NORMALIZER_DEFAULT UNORM_DEFAULT
32
#else
33
#include <unicode/unorm2.h>
34
35
#define NORMALIZER_FORM_D 0x4
36
#define NORMALIZER_NFD NORMALIZER_FORM_D
37
#define NORMALIZER_FORM_KD 0x8
38
#define NORMALIZER_NFKD NORMALIZER_FORM_KD
39
#define NORMALIZER_FORM_C 0x10
40
#define NORMALIZER_NFC NORMALIZER_FORM_C
41
#define NORMALIZER_FORM_KC 0x20
42
#define NORMALIZER_NFKC NORMALIZER_FORM_KC
43
#define NORMALIZER_FORM_KC_CF 0x30
44
#define NORMALIZER_NFKC_CF NORMALIZER_FORM_KC_CF
45
#define NORMALIZER_DEFAULT NORMALIZER_FORM_C
46
#endif
47
48
#endif
// NORMALIZER_NORMALIZER_H
php.h
ext
intl
normalizer
normalizer.h
Generated on Sat Aug 23 2025 01:46:08 for php-internal-docs by
1.13.2