mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
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.
This commit is contained in:
@ -119,7 +119,7 @@ DOWNLOAD = wget -O $@ --no-use-server-timestamps
|
||||
#DOWNLOAD = curl -o $@
|
||||
|
||||
BIG5.TXT CNS11643.TXT:
|
||||
$(DOWNLOAD) http://ftp.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/OTHER/$(@F)
|
||||
$(DOWNLOAD) https://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/OTHER/$(@F)
|
||||
|
||||
euc-jis-2004-std.txt sjis-0213-2004-std.txt:
|
||||
$(DOWNLOAD) http://x0213.org/codetable/$(@F)
|
||||
@ -131,19 +131,19 @@ GB2312.TXT:
|
||||
$(DOWNLOAD) 'http://trac.greenstone.org/browser/trunk/gsdl/unicode/MAPPINGS/EASTASIA/GB/GB2312.TXT?rev=1842&format=txt'
|
||||
|
||||
JIS0212.TXT:
|
||||
$(DOWNLOAD) http://ftp.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/JIS/$(@F)
|
||||
$(DOWNLOAD) https://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/JIS/$(@F)
|
||||
|
||||
JOHAB.TXT KSX1001.TXT:
|
||||
$(DOWNLOAD) http://ftp.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/KSC/$(@F)
|
||||
$(DOWNLOAD) https://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/KSC/$(@F)
|
||||
|
||||
KOI8-R.TXT KOI8-U.TXT:
|
||||
$(DOWNLOAD) http://ftp.unicode.org/Public/MAPPINGS/VENDORS/MISC/$(@F)
|
||||
$(DOWNLOAD) https://www.unicode.org/Public/MAPPINGS/VENDORS/MISC/$(@F)
|
||||
|
||||
$(ISO8859TEXTS):
|
||||
$(DOWNLOAD) http://ftp.unicode.org/Public/MAPPINGS/ISO8859/$(@F)
|
||||
$(DOWNLOAD) https://www.unicode.org/Public/MAPPINGS/ISO8859/$(@F)
|
||||
|
||||
$(filter-out CP8%,$(WINTEXTS)) CP932.TXT CP950.TXT:
|
||||
$(DOWNLOAD) http://ftp.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/$(@F)
|
||||
$(DOWNLOAD) https://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/$(@F)
|
||||
|
||||
$(filter CP8%,$(WINTEXTS)):
|
||||
$(DOWNLOAD) http://ftp.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/PC/$(@F)
|
||||
$(DOWNLOAD) https://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/PC/$(@F)
|
||||
|
@ -8,8 +8,8 @@
|
||||
# map files provided by Unicode organization.
|
||||
# Unfortunately it is prohibited by the organization
|
||||
# to distribute the map files. So if you try to use this script,
|
||||
# you have to obtain the map files from the organization's ftp site.
|
||||
# ftp://www.unicode.org/Public/MAPPINGS/
|
||||
# you have to obtain the map files from the organization's download site.
|
||||
# https://www.unicode.org/Public/MAPPINGS/
|
||||
#
|
||||
# Our "big5" comes from BIG5.TXT, with the addition of the characters
|
||||
# in the range 0xf9d6-0xf9dc from CP950.TXT.
|
||||
|
@ -8,8 +8,8 @@
|
||||
# map files provided by Unicode organization.
|
||||
# Unfortunately it is prohibited by the organization
|
||||
# to distribute the map files. So if you try to use this script,
|
||||
# you have to obtain the map files from the organization's ftp site.
|
||||
# ftp://www.unicode.org/Public/MAPPINGS/
|
||||
# you have to obtain the map files from the organization's download site.
|
||||
# https://www.unicode.org/Public/MAPPINGS/
|
||||
# We assume the file include three tab-separated columns:
|
||||
# JOHAB code in hex
|
||||
# UCS-2 code in hex
|
||||
|
@ -8,8 +8,8 @@
|
||||
# map files provided by Unicode organization.
|
||||
# Unfortunately it is prohibited by the organization
|
||||
# to distribute the map files. So if you try to use this script,
|
||||
# you have to obtain the map files from the organization's ftp site.
|
||||
# ftp://www.unicode.org/Public/MAPPINGS/
|
||||
# you have to obtain the map files from the organization's download site.
|
||||
# https://www.unicode.org/Public/MAPPINGS/
|
||||
# We assume the file include three tab-separated columns:
|
||||
# source character set code in hex
|
||||
# UCS-2 code in hex
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user