Skip to content

Commit 3c49294

Browse files
authored
unicode 15 support (#247)
1 parent 1f1e42d commit 3c49294

File tree

6 files changed

+3374
-3188
lines changed

6 files changed

+3374
-3188
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ endif()
6868
if(UTF8PROC_ENABLE_TESTING)
6969
enable_testing()
7070
file(MAKE_DIRECTORY data)
71-
set(UNICODE_VERSION 14.0.0)
71+
set(UNICODE_VERSION 15.0.0)
7272
file(DOWNLOAD https://www.unicode.org/Public/${UNICODE_VERSION}/ucd/NormalizationTest.txt ${CMAKE_BINARY_DIR}/data/NormalizationTest.txt SHOW_PROGRESS)
7373
file(DOWNLOAD https://www.unicode.org/Public/${UNICODE_VERSION}/ucd/auxiliary/GraphemeBreakTest.txt ${CMAKE_BINARY_DIR}/data/GraphemeBreakTest.txt SHOW_PROGRESS)
7474
add_executable(case test/tests.h test/tests.c utf8proc.h test/case.c)

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# utf8proc release history #
22

3+
## Version 2.8.0-alpha ##
4+
5+
- Unicode 15 support ([#247]).
6+
37
## Version 2.7.0 ##
48

59
2021-12-16

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ The C library is found in this directory after successful compilation
5959
and is named `libutf8proc.a` (for the static library) and
6060
`libutf8proc.so` (for the dynamic library).
6161

62-
The Unicode version supported is 13.0.0.
62+
The Unicode version supported is 15.0.0.
6363

6464
For Unicode normalizations, the following options are used:
6565

data/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ CharWidths.txt: charwidths.jl EastAsianWidth.txt
2222
$(JULIA) charwidths.jl > $@
2323

2424
# Unicode data version (must also update utf8proc_unicode_version function)
25-
UNICODE_VERSION=14.0.0
25+
UNICODE_VERSION=15.0.0
2626

2727
UnicodeData.txt:
2828
$(CURL) $(CURLFLAGS) -o $@ https://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/UnicodeData.txt

utf8proc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ UTF8PROC_DLLEXPORT const char *utf8proc_version(void) {
101101
}
102102

103103
UTF8PROC_DLLEXPORT const char *utf8proc_unicode_version(void) {
104-
return "14.0.0";
104+
return "15.0.0";
105105
}
106106

107107
UTF8PROC_DLLEXPORT const char *utf8proc_errmsg(utf8proc_ssize_t errcode) {

0 commit comments

Comments
 (0)