diff options
| author | Peter Eisentraut | 2019-10-13 20:10:38 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2019-10-13 20:10:38 +0000 |
| commit | bdb839cbdebe851c200b2c7c03aec7483573d631 (patch) | |
| tree | 2fe5e45e59f12231529aec985ad98246af24a650 /src/common | |
| parent | 9abb2bfc046070b22e3be28173a0736da31cab5a (diff) | |
Update unicode.org URLs
Use https, consistent host name, remove references to ftp. Also
update the URLs for CLDR, which has moved from Trac to GitHub.
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/unicode/Makefile | 2 | ||||
| -rw-r--r-- | src/common/unicode_norm.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/common/unicode/Makefile b/src/common/unicode/Makefile index e20ef778f34..334859c9848 100644 --- a/src/common/unicode/Makefile +++ b/src/common/unicode/Makefile @@ -23,7 +23,7 @@ DOWNLOAD = wget -O $@ --no-use-server-timestamps # These files are part of the Unicode Character Database. Download # them on demand. UnicodeData.txt CompositionExclusions.txt NormalizationTest.txt: - $(DOWNLOAD) http://unicode.org/Public/UNIDATA/$(@F) + $(DOWNLOAD) https://www.unicode.org/Public/UNIDATA/$(@F) # Generation of conversion tables used for string normalization with # UTF-8 strings. diff --git a/src/common/unicode_norm.c b/src/common/unicode_norm.c index 89c55332128..7509f814379 100644 --- a/src/common/unicode_norm.c +++ b/src/common/unicode_norm.c @@ -3,7 +3,7 @@ * Normalize a Unicode string to NFKC form * * This implements Unicode normalization, per the documentation at - * http://www.unicode.org/reports/tr15/. + * https://www.unicode.org/reports/tr15/. * * Portions Copyright (c) 2017-2019, PostgreSQL Global Development Group * @@ -109,7 +109,7 @@ get_decomposed_size(pg_wchar code) /* * Fast path for Hangul characters not stored in tables to save memory as * decomposition is algorithmic. See - * http://unicode.org/reports/tr15/tr15-18.html, annex 10 for details on + * https://www.unicode.org/reports/tr15/tr15-18.html, annex 10 for details on * the matter. */ if (code >= SBASE && code < SBASE + SCOUNT) @@ -234,7 +234,7 @@ decompose_code(pg_wchar code, pg_wchar **result, int *current) /* * Fast path for Hangul characters not stored in tables to save memory as * decomposition is algorithmic. See - * http://unicode.org/reports/tr15/tr15-18.html, annex 10 for details on + * https://www.unicode.org/reports/tr15/tr15-18.html, annex 10 for details on * the matter. */ if (code >= SBASE && code < SBASE + SCOUNT) @@ -362,7 +362,7 @@ unicode_normalize_kc(const pg_wchar *input) continue; /* - * Per Unicode (http://unicode.org/reports/tr15/tr15-18.html) annex 4, + * Per Unicode (https://www.unicode.org/reports/tr15/tr15-18.html) annex 4, * a sequence of two adjacent characters in a string is an * exchangeable pair if the combining class (from the Unicode * Character Database) for the first character is greater than the |
