doc: switch links to https

These sites offer https versions of their content. Using the https versions provides some protection for users. Signed-off-by: Josh Soref <jsoref@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Josh Soref committed Nov 24, 2023 at 03:35 UTC d05b08cd52cfda627f1d865bdfe6040a2c9521b5
43 files changed +56 -56
Documentation/MyFirstContribution.txt
+1 -1
@@ -832,7 +832,7 @@ Johannes Schindelin to make life as a Git contributor easier for those used to
832 the GitHub PR workflow. It allows contributors to open pull requests against its
833 mirror of the Git project, and does some magic to turn the PR into a set of
834 emails and send them out for you. It also runs the Git continuous integration
835 -suite for you. It's documented at http://gitgitgadget.github.io.
835 +suite for you. It's documented at https://gitgitgadget.github.io/.
836
837 [[create-fork]]
838 === Forking `git/git` on GitHub
Documentation/git-cvsimport.txt
+1 -1
@@ -221,7 +221,7 @@ Problems related to tags:
221 If you suspect that any of these issues may apply to the repository you
222 want to import, consider using cvs2git:
223
224 -* cvs2git (part of cvs2svn), `http://subversion.apache.org/`
224 +* cvs2git (part of cvs2svn), `https://subversion.apache.org/`
225
226 GIT
227 ---
Documentation/git-imap-send.txt
+1 -1
@@ -135,7 +135,7 @@ flames ridiculing you if you don't check this.
135
136 Thunderbird in particular is known to be problematic. Thunderbird
137 users may wish to visit this web page for more information:
138 - http://kb.mozillazine.org/Plain_text_e-mail_-_Thunderbird#Completely_plain_email
138 + https://kb.mozillazine.org/Plain_text_e-mail_-_Thunderbird#Completely_plain_email
139
140 SEE ALSO
141 --------
Documentation/git-send-email.txt
+1 -1
@@ -453,7 +453,7 @@ have been specified, in which case default to 'compose'.
453 998 characters unless a suitable transfer encoding
454 ('auto', 'base64', or 'quoted-printable') is used;
455 this is due to SMTP limits as described by
456 - http://www.ietf.org/rfc/rfc5322.txt.
456 + https://www.ietf.org/rfc/rfc5322.txt.
457 --
458 +
459 Default is the value of `sendemail.validate`; if this is not set,
Documentation/gitcore-tutorial.txt
+1 -1
@@ -1089,7 +1089,7 @@ the remote repository URL in the local repository's config file
1089 like this:
1090
1091 ------------------------------------------------
1092 -$ git config remote.linus.url http://www.kernel.org/pub/scm/git/git.git/
1092 +$ git config remote.linus.url https://git.kernel.org/pub/scm/git/git.git/
1093 ------------------------------------------------
1094
1095 and use the "linus" keyword with 'git pull' instead of the full URL.
Documentation/gitprotocol-http.txt
+2 -2
@@ -529,8 +529,8 @@ TODO: Document this further.
529 REFERENCES
530 ----------
531
532 -http://www.ietf.org/rfc/rfc1738.txt[RFC 1738: Uniform Resource Locators (URL)]
533 -http://www.ietf.org/rfc/rfc2616.txt[RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1]
532 +https://www.ietf.org/rfc/rfc1738.txt[RFC 1738: Uniform Resource Locators (URL)]
533 +https://www.ietf.org/rfc/rfc2616.txt[RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1]
534
535 SEE ALSO
536 --------
Documentation/gitweb.conf.txt
+1 -1
@@ -820,7 +820,7 @@ filesystem (i.e. "$projectroot/$project"), `%h` to the current hash
820 (\'h' gitweb parameter) and `%b` to the current hash base
821 (\'hb' gitweb parameter); `%%` expands to \'%'.
822 +
823 -For example, at the time this page was written, the http://repo.or.cz[]
823 +For example, at the time this page was written, the https://repo.or.cz[]
824 Git hosting site set it to the following to enable graphical log
825 (using the third party tool *git-browser*):
826 +
Documentation/gitweb.txt
+1 -1
@@ -28,7 +28,7 @@ Gitweb provides a web interface to Git repositories. Its features include:
28 revisions one at a time, viewing the history of the repository.
29 * Finding commits which commit messages matches given search term.
30
31 -See http://repo.or.cz/w/git.git/tree/HEAD:/gitweb/[] for gitweb source code,
31 +See https://repo.or.cz/w/git.git/tree/HEAD:/gitweb/[] for gitweb source code,
32 browsed using gitweb itself.
33
34
Documentation/howto/keep-canonical-history-correct.txt
+1 -1
@@ -213,4 +213,4 @@ The procedure will result in a history that looks like this:
213 B0--B1---------B2
214 ------------
215
216 -See also http://git-blame.blogspot.com/2013/09/fun-with-first-parent-history.html
216 +See also https://git-blame.blogspot.com/2013/09/fun-with-first-parent-history.html
Documentation/signoff-option.txt
+1 -1
@@ -9,7 +9,7 @@ endif::git-commit[]
9 the committer has the rights to submit the work under the
10 project's license or agrees to some contributor representation,
11 such as a Developer Certificate of Origin.
12 - (See http://developercertificate.org for the one used by the
12 + (See https://developercertificate.org for the one used by the
13 Linux kernel and Git projects.) Consult the documentation or
14 leadership of the project to which you're contributing to
15 understand how the signoffs are used in that project.
INSTALL
+1 -1
@@ -124,7 +124,7 @@ Issues of note:
124 interacting with svn repositories with "git svn"). If you can
125 live without these, use NO_PERL. Note that recent releases of
126 Redhat/Fedora are reported to ship Perl binary package with some
127 - core modules stripped away (see http://lwn.net/Articles/477234/),
127 + core modules stripped away (see https://lwn.net/Articles/477234/),
128 so you might need to install additional packages other than Perl
129 itself, e.g. Digest::MD5, File::Spec, File::Temp, Net::Domain,
130 Net::SMTP, and Time::HiRes.
Makefile
+2 -2
@@ -186,7 +186,7 @@ include shared.mak
186 # Define NO_DEFLATE_BOUND if your zlib does not have deflateBound.
187 #
188 # Define NO_NORETURN if using buggy versions of gcc 4.6+ and profile feedback,
189 -# as the compiler can crash (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49299)
189 +# as the compiler can crash (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49299)
190 #
191 # Define USE_NSEC below if you want git to care about sub-second file mtimes
192 # and ctimes. Note that you need recent glibc (at least 2.2.4) for this. On
@@ -2719,7 +2719,7 @@ $(OBJECTS): %.o: %.c GIT-CFLAGS $(missing_dep_dirs) $(missing_compdb_dir)
2719
2720 ifdef USE_COMPUTED_HEADER_DEPENDENCIES
2721 # Take advantage of gcc's on-the-fly dependency generation
2722 -# See <http://gcc.gnu.org/gcc-3.0/features.html>.
2722 +# See <https://gcc.gnu.org/gcc-3.0/features.html>.
2723 dep_files_present := $(wildcard $(dep_files))
2724 ifneq ($(dep_files_present),)
2725 include $(dep_files_present)
README.md
+1 -1
@@ -42,7 +42,7 @@ string translations (localization l10) should see [po/README.md][]
42 To subscribe to the list, send an email with just "subscribe git" in
43 the body to majordomo@vger.kernel.org (not the Git list). The mailing
44 list archives are available at <https://lore.kernel.org/git/>,
45 -<http://marc.info/?l=git> and other archival sites.
45 +<https://marc.info/?l=git> and other archival sites.
46
47 Issues which are security relevant should be disclosed privately to
48 the Git Security mailing list <git-security@googlegroups.com>.
git-cvsimport.perl
+1 -1
@@ -329,7 +329,7 @@ sub conn {
329 # Use a HTTP Proxy. Only works for HTTP proxies that
330 # don't require user authentication
331 #
332 - # See: http://www.ietf.org/rfc/rfc2817.txt
332 + # See: https://www.ietf.org/rfc/rfc2817.txt
333
334 $s = IO::Socket::INET->new(PeerHost => $proxyhost, PeerPort => $proxyport);
335 die "Socket to $proxyhost: $!\n" unless defined $s;
git-gui/git-gui.sh
+2 -2
@@ -24,7 +24,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 GNU General Public License for more details.
25
26 You should have received a copy of the GNU General Public License
27 -along with this program; if not, see <http://www.gnu.org/licenses/>.}]
27 +along with this program; if not, see <https://www.gnu.org/licenses/>.}]
28
29 ######################################################################
30 ##
@@ -3075,7 +3075,7 @@ if {$doc_path ne {}} {
3075 if {[file isfile $doc_path]} {
3076 set doc_url "file:$doc_path"
3077 } else {
3078 - set doc_url {http://www.kernel.org/pub/software/scm/git/docs/}
3078 + set doc_url {https://www.kernel.org/pub/software/scm/git/docs/}
3079 }
3080
3081 proc start_browser {url} {
git-gui/lib/encoding.tcl
+1 -1
@@ -3,7 +3,7 @@
3 # (Copied from gitk, commit fd8ccbec4f0161)
4
5 # This list of encoding names and aliases is distilled from
6 -# http://www.iana.org/assignments/character-sets.
6 +# https://www.iana.org/assignments/character-sets.
7 # Not all of them are supported by Tcl.
8 set encoding_aliases {
9 { ANSI_X3.4-1968 iso-ir-6 ANSI_X3.4-1986 ISO_646.irv:1991 ASCII
git-gui/po/README
+1 -1
@@ -39,7 +39,7 @@ in your language?
39 If you do not know what your language should be named, you need to find
40 it. This currently follows ISO 639-1 two letter codes:
41
42 - http://www.loc.gov/standards/iso639-2/php/code_list.php
42 + https://www.loc.gov/standards/iso639-2/php/code_list.php
43
44 For example, if you are preparing a translation for Afrikaans, the
45 language code is "af". If there already is a translation for your
git-instaweb.sh
+2 -2
@@ -432,7 +432,7 @@ mongoose_conf() {
432 # Mongoose web server configuration file.
433 # Lines starting with '#' and empty lines are ignored.
434 # For detailed description of every option, visit
435 -# http://code.google.com/p/mongoose/wiki/MongooseManual
435 +# https://code.google.com/p/mongoose/wiki/MongooseManual
436
437 root $root
438 ports $port
@@ -458,7 +458,7 @@ plackup_conf () {
458 #!$PERL
459
460 # gitweb - simple web interface to track changes in git repositories
461 -# PSGI wrapper and server starter (see http://plackperl.org)
461 +# PSGI wrapper and server starter (see https://plackperl.org)
462
463 use strict;
464
gitk-git/gitk
+1 -1
@@ -11956,7 +11956,7 @@ proc formatdate {d} {
11956 }
11957
11958 # This list of encoding names and aliases is distilled from
11959 -# http://www.iana.org/assignments/character-sets.
11959 +# https://www.iana.org/assignments/character-sets.
11960 # Not all of them are supported by Tcl.
11961 set encoding_aliases {
11962 { ANSI_X3.4-1968 iso-ir-6 ANSI_X3.4-1986 ISO_646.irv:1991 ASCII
gitweb/gitweb.perl
+2 -2
@@ -122,9 +122,9 @@ our $favicon = "++GITWEB_FAVICON++";
122 our $javascript = "++GITWEB_JS++";
123
124 # URI and label (title) of GIT logo link
125 -#our $logo_url = "http://www.kernel.org/pub/software/scm/git/docs/";
125 +#our $logo_url = "https://www.kernel.org/pub/software/scm/git/docs/";
126 #our $logo_label = "git documentation";
127 -our $logo_url = "http://git-scm.com/";
127 +our $logo_url = "https://git-scm.com/";
128 our $logo_label = "git homepage";
129
130 # source of projects list
gitweb/static/js/lib/common-lib.js
+4 -4
@@ -123,8 +123,8 @@ function addCssRule(selector, style) {
123 * NOTE that there are limits and differences compared to native
124 * getElementsByClassName as defined by e.g.:
125 * https://developer.mozilla.org/en/DOM/document.getElementsByClassName
126 - * http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-getelementsbyclassname
127 - * http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-document-getelementsbyclassname
126 + * https://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-getelementsbyclassname
127 + * https://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-document-getelementsbyclassname
128 *
129 * Namely, this implementation supports only single class name as
130 * argument and not set of space-separated tokens representing classes,
@@ -133,9 +133,9 @@ function addCssRule(selector, style) {
133 * (via getElementsByTagName).
134 *
135 * Based on
136 - * http://code.google.com/p/getelementsbyclassname/
136 + * https://code.google.com/p/getelementsbyclassname/
137 * http://www.dustindiaz.com/getelementsbyclass/
138 - * http://stackoverflow.com/questions/1818865/do-we-have-getelementsbyclassname-in-javascript
138 + * https://stackoverflow.com/questions/1818865/do-we-have-getelementsbyclassname-in-javascript
139 *
140 * See also https://johnresig.com/blog/getelementsbyclassname-speed-comparison/
141 *
graph.h
+2 -2
@@ -130,7 +130,7 @@ void graph_setup_line_prefix(struct diff_options *diffopt);
130 * This functions must be called BEFORE graph_init() is called.
131 *
132 * NOTE: This function isn't used in Git outside graph.c but it is used
133 - * by CGit (http://git.zx2c4.com/cgit/) to use HTML for colors.
133 + * by CGit (https://git.zx2c4.com/cgit/) to use HTML for colors.
134 */
135 void graph_set_column_colors(const char **colors, unsigned short colors_max);
136
@@ -196,7 +196,7 @@ int graph_is_commit_finished(struct git_graph const *graph);
196 * graph_update() is called.
197 *
198 * NOTE: This function isn't used in Git outside graph.c but it is used
199 - * by CGit (http://git.zx2c4.com/cgit/) to wrap HTML around graph lines.
199 + * by CGit (https://git.zx2c4.com/cgit/) to wrap HTML around graph lines.
200 */
201 int graph_next_line(struct git_graph *graph, struct strbuf *sb);
202
imap-send.c
+1 -1
@@ -18,7 +18,7 @@
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 - * along with this program; if not, see <http://www.gnu.org/licenses/>.
21 + * along with this program; if not, see <https://www.gnu.org/licenses/>.
22 */
23
24 #include "git-compat-util.h"
json-writer.h
+1 -1
@@ -3,7 +3,7 @@
3
4 /*
5 * JSON data structures are defined at:
6 - * [1] http://www.ietf.org/rfc/rfc7159.txt
6 + * [1] https://www.ietf.org/rfc/rfc7159.txt
7 * [2] https://www.json.org/
8 *
9 * The JSON-writer API allows one to build JSON data structures using a
kwset.c
+1 -1
@@ -18,7 +18,7 @@
18 GNU General Public License for more details.
19
20 You should have received a copy of the GNU General Public License
21 - along with this program; if not, see <http://www.gnu.org/licenses/>. */
21 + along with this program; if not, see <https://www.gnu.org/licenses/>. */
22
23 /* Written August 1989 by Mike Haertel.
24 The author may be reached (Email) at the address mike@ai.mit.edu,
kwset.h
+1 -1
@@ -20,7 +20,7 @@
20 GNU General Public License for more details.
21
22 You should have received a copy of the GNU General Public License
23 - along with this program; if not, see <http://www.gnu.org/licenses/>. */
23 + along with this program; if not, see <https://www.gnu.org/licenses/>. */
24
25 /* Written August 1989 by Mike Haertel.
26 The author may be reached (Email) at the address mike@ai.mit.edu,
list.h
+1 -1
@@ -19,7 +19,7 @@
19 *
20 * You should have received a copy of the GNU Lesser General Public
21 * License along with this library; if not, see
22 - * <http://www.gnu.org/licenses/>.
22 + * <https://www.gnu.org/licenses/>.
23 */
24
25 #ifndef LIST_H
perl/FromCPAN/Error.pm
+1 -1
@@ -1025,7 +1025,7 @@ C<:warndie> handlers added by Paul Evans <leonerd@leonerd.org.uk>
1025
1026 =head1 MAINTAINER
1027
1028 -Shlomi Fish, L<http://www.shlomifish.org/> .
1028 +Shlomi Fish, L<https://www.shlomifish.org/> .
1029
1030 =head1 PAST MAINTAINERS
1031
perl/Git/SVN.pm
+1 -1
@@ -1752,7 +1752,7 @@ sub tie_for_persistent_memoization {
1752 END {
1753 # Force cache writeout explicitly instead of waiting for
1754 # global destruction to avoid segfault in Storable:
1755 - # http://rt.cpan.org/Public/Bug/Display.html?id=36087
1755 + # https://rt.cpan.org/Public/Bug/Display.html?id=36087
1756 unmemoize_svn_mergeinfo_functions();
1757 }
1758
protocol.h
+1 -1
@@ -18,7 +18,7 @@
18 * with Linus Torvalds <torvalds@osdl.org> as the point of
19 * contact. September 2005.
20 *
21 - * See http://www.iana.org/assignments/port-numbers
21 + * See https://www.iana.org/assignments/port-numbers
22 */
23 #define DEFAULT_GIT_PORT 9418
24
sh-i18n--envsubst.c
+2 -2
@@ -31,7 +31,7 @@
31 GNU General Public License for more details.
32
33 You should have received a copy of the GNU General Public License
34 - along with this program; if not, see <http://www.gnu.org/licenses/>. */
34 + along with this program; if not, see <https://www.gnu.org/licenses/>. */
35
36 /* closeout.c - close standard output and standard error
37 Copyright (C) 1998-2007 Free Software Foundation, Inc.
@@ -47,7 +47,7 @@
47 GNU General Public License for more details.
48
49 You should have received a copy of the GNU General Public License
50 - along with this program; if not, see <http://www.gnu.org/licenses/>. */
50 + along with this program; if not, see <https://www.gnu.org/licenses/>. */
51
52 #include <errno.h>
53 #include <stdio.h>
t/README
+2 -2
@@ -32,7 +32,7 @@ the tests.
32 ok 2 - plain with GIT_WORK_TREE
33 ok 3 - plain bare
34
35 -Since the tests all output TAP (see http://testanything.org) they can
35 +Since the tests all output TAP (see https://testanything.org) they can
36 be run with any TAP harness. Here's an example of parallel testing
37 powered by a recent version of prove(1):
38
@@ -1279,7 +1279,7 @@ Devel::Cover module. To install it do:
1279 sudo aptitude install libdevel-cover-perl
1280
1281 # From the CPAN with cpanminus
1282 - curl -L http://cpanmin.us | perl - --sudo --self-upgrade
1282 + curl -L https://cpanmin.us/ | perl - --sudo --self-upgrade
1283 cpanm --sudo Devel::Cover
1284
1285 Then, at the top-level:
t/helper/test-regex.c
+1 -1
@@ -30,7 +30,7 @@ static int test_regex_bug(void)
30 if (regexec(&r, str, 1, m, 0))
31 die("no match of pattern '%s' to string '%s'", pat, str);
32
33 - /* http://sourceware.org/bugzilla/show_bug.cgi?id=3957 */
33 + /* https://sourceware.org/bugzilla/show_bug.cgi?id=3957 */
34 if (m[0].rm_so == 3) /* matches '\n' when it should not */
35 die("regex bug confirmed: re-build git with NO_REGEX=1");
36
t/perf/perf-lib.sh
+1 -1
@@ -15,7 +15,7 @@
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 -# along with this program. If not, see http://www.gnu.org/licenses/ .
18 +# along with this program. If not, see https://www.gnu.org/licenses/ .
19
20 # These variables must be set before the inclusion of test-lib.sh below,
21 # because it will change our working directory.
t/t9114-git-svn-dcommit-merge.sh
+1 -1
@@ -27,7 +27,7 @@ cat << EOF
27 # GNU General Public License for more details.
28 #
29 # You should have received a copy of the GNU General Public License
30 -# along with this program; if not, see <http://www.gnu.org/licenses/>.
30 +# along with this program; if not, see <https://www.gnu.org/licenses/>.
31 #
32 EOF
33 }
t/t9801-git-p4-branch.sh
+1 -1
@@ -466,7 +466,7 @@ test_expect_success 'git p4 clone complex branches with excluded files' '
466 )
467 '
468
469 -# From a report in http://stackoverflow.com/questions/11893688
469 +# From a report in https://stackoverflow.com/questions/11893688
470 # where --use-client-spec caused branch prefixes not to be removed;
471 # every file in git appeared into a subdirectory of the branch name.
472 test_expect_success 'use-client-spec detect-branches setup' '
t/test-lib-functions.sh
+1 -1
@@ -14,7 +14,7 @@
14 # GNU General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 -# along with this program. If not, see http://www.gnu.org/licenses/ .
17 +# along with this program. If not, see https://www.gnu.org/licenses/ .
18
19 # The semantics of the editor variables are that of invoking
20 # sh -c "$EDITOR \"$@\"" files ...
t/test-lib-github-workflow-markup.sh
+1 -1
@@ -14,7 +14,7 @@
14 # GNU General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 -# along with this program. If not, see http://www.gnu.org/licenses/ .
17 +# along with this program. If not, see https://www.gnu.org/licenses/ .
18 #
19 # The idea is for `test-lib.sh` to source this file when run in GitHub
20 # workflows; these functions will then override (empty) functions
t/test-lib-junit.sh
+1 -1
@@ -15,7 +15,7 @@
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 -# along with this program. If not, see http://www.gnu.org/licenses/ .
18 +# along with this program. If not, see https://www.gnu.org/licenses/ .
19 #
20 # The idea is for `test-lib.sh` to source this file when the user asks
21 # for JUnit XML; these functions will then override (empty) functions
t/test-lib.sh
+1 -1
@@ -13,7 +13,7 @@
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 -# along with this program. If not, see http://www.gnu.org/licenses/ .
16 +# along with this program. If not, see https://www.gnu.org/licenses/ .
17
18 # Test the binaries we have just built. The tests are kept in
19 # t/ subdirectory and are run in 'trash directory' subdirectory.
trace.c
+1 -1
@@ -18,7 +18,7 @@
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 - * along with this program; if not, see <http://www.gnu.org/licenses/>.
21 + * along with this program; if not, see <https://www.gnu.org/licenses/>.
22 */
23
24 #include "git-compat-util.h"
utf8.c
+1 -1
@@ -2,7 +2,7 @@
2 #include "strbuf.h"
3 #include "utf8.h"
4
5 -/* This code is originally from http://www.cl.cam.ac.uk/~mgk25/ucs/ */
5 +/* This code is originally from https://www.cl.cam.ac.uk/~mgk25/ucs/ */
6
7 static const char utf16_be_bom[] = {'\xFE', '\xFF'};
8 static const char utf16_le_bom[] = {'\xFF', '\xFE'};
utf8.h
+3 -3
@@ -83,7 +83,7 @@ void strbuf_utf8_align(struct strbuf *buf, align_type position, unsigned int wid
83 * BOM must not be used [1]. The same applies for the UTF-32 equivalents.
84 * The function returns true if this rule is violated.
85 *
86 - * [1] http://unicode.org/faq/utf_bom.html#bom10
86 + * [1] https://unicode.org/faq/utf_bom.html#bom10
87 */
88 int has_prohibited_utf_bom(const char *enc, const char *data, size_t len);
89
@@ -99,8 +99,8 @@ int has_prohibited_utf_bom(const char *enc, const char *data, size_t len);
99 * Therefore, strictly requiring a BOM seems to be the safest option for
100 * content in Git.
101 *
102 - * [1] http://unicode.org/faq/utf_bom.html#gen6
103 - * [2] http://www.unicode.org/versions/Unicode10.0.0/ch03.pdf
102 + * [1] https://unicode.org/faq/utf_bom.html#gen6
103 + * [2] https://www.unicode.org/versions/Unicode10.0.0/ch03.pdf
104 * Section 3.10, D98, page 132
105 * [3] https://encoding.spec.whatwg.org/#utf-16le
106 */