summaryrefslogtreecommitdiff
path: root/regress/usr.bin
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2017-07-14 15:50:39 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2017-07-14 15:50:39 +0000
commitfc94cf20e69d1211c04f98cac4c20ed4390f5955 (patch)
treec77eae2f57ef3ec3bea3ddc0f92f852660633faa /regress/usr.bin
parent63b69ff1d7d9fe05981308af439d5487fe423816 (diff)
adapt to hex format of character entities,
committed by bentley@ in html.c rev. 1.86
Diffstat (limited to 'regress/usr.bin')
-rw-r--r--regress/usr.bin/mandoc/char/unicode/invalid.out_html2
-rw-r--r--regress/usr.bin/mandoc/char/unicode/latin1.out_html168
-rw-r--r--regress/usr.bin/mandoc/char/unicode/latin1diff.out_html22
-rw-r--r--regress/usr.bin/mandoc/char/unicode/named.out_html304
-rw-r--r--regress/usr.bin/mandoc/char/unicode/namediff.out_html80
-rw-r--r--regress/usr.bin/mandoc/char/unicode/nogroff.out_html68
-rw-r--r--regress/usr.bin/mandoc/eqn/fromto/basic.out_html2
-rw-r--r--regress/usr.bin/mandoc/eqn/nullary/roman.out_html6
-rw-r--r--regress/usr.bin/mandoc/eqn/nullary/symbol.out_html6
-rw-r--r--regress/usr.bin/mandoc/eqn/subsup/precedence.out_html2
-rw-r--r--regress/usr.bin/mandoc/eqn/unary/diacrit.out_html2
11 files changed, 331 insertions, 331 deletions
diff --git a/regress/usr.bin/mandoc/char/unicode/invalid.out_html b/regress/usr.bin/mandoc/char/unicode/invalid.out_html
index 6456d7283ca..c4761ea608c 100644
--- a/regress/usr.bin/mandoc/char/unicode/invalid.out_html
+++ b/regress/usr.bin/mandoc/char/unicode/invalid.out_html
@@ -4,5 +4,5 @@ just right: &gt;+&lt;
too long: &gt;..&lt;
too large: &gt;..&lt;
trailing garbage: &gt;&lt;
-not unicode: &gt;_.&#8593;.&#8657;&lt;
+not unicode: &gt;_.&#x2191;.&#x21D1;&lt;
ENDTEST
diff --git a/regress/usr.bin/mandoc/char/unicode/latin1.out_html b/regress/usr.bin/mandoc/char/unicode/latin1.out_html
index 0196d76d742..b7d45ecbc81 100644
--- a/regress/usr.bin/mandoc/char/unicode/latin1.out_html
+++ b/regress/usr.bin/mandoc/char/unicode/latin1.out_html
@@ -1,86 +1,86 @@
BEGINTEST
-&#162;&#162; CENT SIGN
-&#164;&#164; CURRENCY SIGN
-&#165;&#165; YEN SIGN
-&#166;&#166; BROKEN BAR
-&#168;&#168; DIAERESIS
-&#169;&#169; COPYRIGHT SIGN
-&#170;&#170; FEMININE ORDINAL INDICATOR
-&#171;&#171; LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
-&#172;&#172;&#172; NOT SIGN
-&#173; SOFT HYPHEN
-&#174;&#174; REGISTERED SIGN
-&#177;&#177;&#177; PLUS-MINUS SIGN
-&#178;&#178; SUPERSCRIPT TWO
-&#179;&#179; SUPERSCRIPT THREE
-&#180;&#180;&#180; ACUTE ACCENT
-&#181;&#181; MICRO SIGN
-&#183;&#183; MIDDLE DOT
-&#184;&#184; CEDILLA
-&#185;&#185; SUPERSCRIPT ONE
-&#186;&#186; MASCULINE ORDINAL INDICATOR
-&#187;&#187; RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
-&#188;&#188; VULGAR FRACTION ONE QUARTER
-&#189;&#189; VULGAR FRACTION ONE HALF
-&#190;&#190; VULGAR FRACTION THREE QUARTERS
-&#192;&#192; LATIN CAPITAL LETTER A WITH GRAVE
-&#193;&#193; LATIN CAPITAL LETTER A WITH ACUTE
-&#194;&#194; LATIN CAPITAL LETTER A WITH CIRCUMFLEX
-&#195;&#195; LATIN CAPITAL LETTER A WITH TILDE
-&#196;&#196; LATIN CAPITAL LETTER A WITH DIAERESIS
-&#197;&#197; LATIN CAPITAL LETTER A WITH RING ABOVE
-&#198;&#198; LATIN CAPITAL LETTER AE
-&#199;&#199; LATIN CAPITAL LETTER C WITH CEDILLA
-&#200;&#200; LATIN CAPITAL LETTER E WITH GRAVE
-&#201;&#201; LATIN CAPITAL LETTER E WITH ACUTE
-&#202;&#202; LATIN CAPITAL LETTER E WITH CIRCUMFLEX
-&#203;&#203; LATIN CAPITAL LETTER E WITH DIAERESIS
-&#204;&#204; LATIN CAPITAL LETTER I WITH GRAVE
-&#205;&#205; LATIN CAPITAL LETTER I WITH ACUTE
-&#206;&#206; LATIN CAPITAL LETTER I WITH CIRCUMFLEX
-&#207;&#207; LATIN CAPITAL LETTER I WITH DIAERESIS
-&#208;&#208; LATIN CAPITAL LETTER ETH
-&#209;&#209; LATIN CAPITAL LETTER N WITH TILDE
-&#210;&#210; LATIN CAPITAL LETTER O WITH GRAVE
-&#211;&#211; LATIN CAPITAL LETTER O WITH ACUTE
-&#212;&#212; LATIN CAPITAL LETTER O WITH CIRCUMFLEX
-&#213;&#213; LATIN CAPITAL LETTER O WITH TILDE
-&#214;&#214; LATIN CAPITAL LETTER O WITH DIAERESIS
-&#215;&#215;&#215; MULTIPLICATION SIGN
-&#216;&#216; LATIN CAPITAL LETTER O WITH STROKE
-&#217;&#217; LATIN CAPITAL LETTER U WITH GRAVE
-&#218;&#218; LATIN CAPITAL LETTER U WITH ACUTE
-&#219;&#219; LATIN CAPITAL LETTER U WITH CIRCUMFLEX
-&#220;&#220; LATIN CAPITAL LETTER U WITH DIAERESIS
-&#221; LATIN CAPITAL LETTER Y WITH ACUTE
-&#224;&#224; LATIN SMALL LETTER A WITH GRAVE
-&#225;&#225; LATIN SMALL LETTER A WITH ACUTE
-&#226;&#226; LATIN SMALL LETTER A WITH CIRCUMFLEX
-&#227;&#227; LATIN SMALL LETTER A WITH TILDE
-&#228;&#228; LATIN SMALL LETTER A WITH DIAERESIS
-&#229;&#229; LATIN SMALL LETTER A WITH RING ABOVE
-&#230;&#230; LATIN SMALL LETTER AE
-&#231;&#231; LATIN SMALL LETTER C WITH CEDILLA
-&#232;&#232; LATIN SMALL LETTER E WITH GRAVE
-&#233;&#233; LATIN SMALL LETTER E WITH ACUTE
-&#234;&#234; LATIN SMALL LETTER E WITH CIRCUMFLEX
-&#235;&#235; LATIN SMALL LETTER E WITH DIAERESIS
-&#236;&#236; LATIN SMALL LETTER I WITH GRAVE
-&#237;&#237; LATIN SMALL LETTER I WITH ACUTE
-&#238;&#238; LATIN SMALL LETTER I WITH CIRCUMFLEX
-&#239;&#239; LATIN SMALL LETTER I WITH DIAERESIS
-&#241;&#241; LATIN SMALL LETTER N WITH TILDE
-&#242;&#242; LATIN SMALL LETTER O WITH GRAVE
-&#243;&#243; LATIN SMALL LETTER O WITH ACUTE
-&#244;&#244; LATIN SMALL LETTER O WITH CIRCUMFLEX
-&#245;&#245; LATIN SMALL LETTER O WITH TILDE
-&#246;&#246; LATIN SMALL LETTER O WITH DIAERESIS
-&#247;&#247;&#247; DIVISION SIGN
-&#248;&#248; LATIN SMALL LETTER O WITH STROKE
-&#249;&#249; LATIN SMALL LETTER U WITH GRAVE
-&#250;&#250; LATIN SMALL LETTER U WITH ACUTE
-&#251;&#251; LATIN SMALL LETTER U WITH CIRCUMFLEX
-&#252;&#252; LATIN SMALL LETTER U WITH DIAERESIS
-&#253; LATIN SMALL LETTER Y WITH ACUTE
-&#255;&#255; LATIN SMALL LETTER Y WITH DIAERESIS
+&#x00A2;&#x00A2; CENT SIGN
+&#x00A4;&#x00A4; CURRENCY SIGN
+&#x00A5;&#x00A5; YEN SIGN
+&#x00A6;&#x00A6; BROKEN BAR
+&#x00A8;&#x00A8; DIAERESIS
+&#x00A9;&#x00A9; COPYRIGHT SIGN
+&#x00AA;&#x00AA; FEMININE ORDINAL INDICATOR
+&#x00AB;&#x00AB; LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+&#x00AC;&#x00AC;&#x00AC; NOT SIGN
+&#x00AD; SOFT HYPHEN
+&#x00AE;&#x00AE; REGISTERED SIGN
+&#x00B1;&#x00B1;&#x00B1; PLUS-MINUS SIGN
+&#x00B2;&#x00B2; SUPERSCRIPT TWO
+&#x00B3;&#x00B3; SUPERSCRIPT THREE
+&#x00B4;&#x00B4;&#x00B4; ACUTE ACCENT
+&#x00B5;&#x00B5; MICRO SIGN
+&#x00B7;&#x00B7; MIDDLE DOT
+&#x00B8;&#x00B8; CEDILLA
+&#x00B9;&#x00B9; SUPERSCRIPT ONE
+&#x00BA;&#x00BA; MASCULINE ORDINAL INDICATOR
+&#x00BB;&#x00BB; RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+&#x00BC;&#x00BC; VULGAR FRACTION ONE QUARTER
+&#x00BD;&#x00BD; VULGAR FRACTION ONE HALF
+&#x00BE;&#x00BE; VULGAR FRACTION THREE QUARTERS
+&#x00C0;&#x00C0; LATIN CAPITAL LETTER A WITH GRAVE
+&#x00C1;&#x00C1; LATIN CAPITAL LETTER A WITH ACUTE
+&#x00C2;&#x00C2; LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+&#x00C3;&#x00C3; LATIN CAPITAL LETTER A WITH TILDE
+&#x00C4;&#x00C4; LATIN CAPITAL LETTER A WITH DIAERESIS
+&#x00C5;&#x00C5; LATIN CAPITAL LETTER A WITH RING ABOVE
+&#x00C6;&#x00C6; LATIN CAPITAL LETTER AE
+&#x00C7;&#x00C7; LATIN CAPITAL LETTER C WITH CEDILLA
+&#x00C8;&#x00C8; LATIN CAPITAL LETTER E WITH GRAVE
+&#x00C9;&#x00C9; LATIN CAPITAL LETTER E WITH ACUTE
+&#x00CA;&#x00CA; LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+&#x00CB;&#x00CB; LATIN CAPITAL LETTER E WITH DIAERESIS
+&#x00CC;&#x00CC; LATIN CAPITAL LETTER I WITH GRAVE
+&#x00CD;&#x00CD; LATIN CAPITAL LETTER I WITH ACUTE
+&#x00CE;&#x00CE; LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+&#x00CF;&#x00CF; LATIN CAPITAL LETTER I WITH DIAERESIS
+&#x00D0;&#x00D0; LATIN CAPITAL LETTER ETH
+&#x00D1;&#x00D1; LATIN CAPITAL LETTER N WITH TILDE
+&#x00D2;&#x00D2; LATIN CAPITAL LETTER O WITH GRAVE
+&#x00D3;&#x00D3; LATIN CAPITAL LETTER O WITH ACUTE
+&#x00D4;&#x00D4; LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+&#x00D5;&#x00D5; LATIN CAPITAL LETTER O WITH TILDE
+&#x00D6;&#x00D6; LATIN CAPITAL LETTER O WITH DIAERESIS
+&#x00D7;&#x00D7;&#x00D7; MULTIPLICATION SIGN
+&#x00D8;&#x00D8; LATIN CAPITAL LETTER O WITH STROKE
+&#x00D9;&#x00D9; LATIN CAPITAL LETTER U WITH GRAVE
+&#x00DA;&#x00DA; LATIN CAPITAL LETTER U WITH ACUTE
+&#x00DB;&#x00DB; LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+&#x00DC;&#x00DC; LATIN CAPITAL LETTER U WITH DIAERESIS
+&#x00DD; LATIN CAPITAL LETTER Y WITH ACUTE
+&#x00E0;&#x00E0; LATIN SMALL LETTER A WITH GRAVE
+&#x00E1;&#x00E1; LATIN SMALL LETTER A WITH ACUTE
+&#x00E2;&#x00E2; LATIN SMALL LETTER A WITH CIRCUMFLEX
+&#x00E3;&#x00E3; LATIN SMALL LETTER A WITH TILDE
+&#x00E4;&#x00E4; LATIN SMALL LETTER A WITH DIAERESIS
+&#x00E5;&#x00E5; LATIN SMALL LETTER A WITH RING ABOVE
+&#x00E6;&#x00E6; LATIN SMALL LETTER AE
+&#x00E7;&#x00E7; LATIN SMALL LETTER C WITH CEDILLA
+&#x00E8;&#x00E8; LATIN SMALL LETTER E WITH GRAVE
+&#x00E9;&#x00E9; LATIN SMALL LETTER E WITH ACUTE
+&#x00EA;&#x00EA; LATIN SMALL LETTER E WITH CIRCUMFLEX
+&#x00EB;&#x00EB; LATIN SMALL LETTER E WITH DIAERESIS
+&#x00EC;&#x00EC; LATIN SMALL LETTER I WITH GRAVE
+&#x00ED;&#x00ED; LATIN SMALL LETTER I WITH ACUTE
+&#x00EE;&#x00EE; LATIN SMALL LETTER I WITH CIRCUMFLEX
+&#x00EF;&#x00EF; LATIN SMALL LETTER I WITH DIAERESIS
+&#x00F1;&#x00F1; LATIN SMALL LETTER N WITH TILDE
+&#x00F2;&#x00F2; LATIN SMALL LETTER O WITH GRAVE
+&#x00F3;&#x00F3; LATIN SMALL LETTER O WITH ACUTE
+&#x00F4;&#x00F4; LATIN SMALL LETTER O WITH CIRCUMFLEX
+&#x00F5;&#x00F5; LATIN SMALL LETTER O WITH TILDE
+&#x00F6;&#x00F6; LATIN SMALL LETTER O WITH DIAERESIS
+&#x00F7;&#x00F7;&#x00F7; DIVISION SIGN
+&#x00F8;&#x00F8; LATIN SMALL LETTER O WITH STROKE
+&#x00F9;&#x00F9; LATIN SMALL LETTER U WITH GRAVE
+&#x00FA;&#x00FA; LATIN SMALL LETTER U WITH ACUTE
+&#x00FB;&#x00FB; LATIN SMALL LETTER U WITH CIRCUMFLEX
+&#x00FC;&#x00FC; LATIN SMALL LETTER U WITH DIAERESIS
+&#x00FD; LATIN SMALL LETTER Y WITH ACUTE
+&#x00FF;&#x00FF; LATIN SMALL LETTER Y WITH DIAERESIS
ENDTEST
diff --git a/regress/usr.bin/mandoc/char/unicode/latin1diff.out_html b/regress/usr.bin/mandoc/char/unicode/latin1diff.out_html
index 8d3265c73a5..1907071369a 100644
--- a/regress/usr.bin/mandoc/char/unicode/latin1diff.out_html
+++ b/regress/usr.bin/mandoc/char/unicode/latin1diff.out_html
@@ -1,13 +1,13 @@
BEGINTEST
-&#161;&#161; INVERTED EXCLAMATION MARK
-&#163;&#163; POUND SIGN
-&#167;&#167; SECTION SIGN
-&#175;&#175; MACRON
-&#176;&#176; DEGREE SIGN
-&#182;&#182; PILCROW SIGN
-&#191;&#191; INVERTED QUESTION MARK
-&#222;&#222; LATIN CAPITAL LETTER THORN
-&#223;&#223; LATIN SMALL LETTER SHARP S
-&#240;&#240; LATIN SMALL LETTER ETH
-&#254;&#254; LATIN SMALL LETTER THORN
+&#x00A1;&#x00A1; INVERTED EXCLAMATION MARK
+&#x00A3;&#x00A3; POUND SIGN
+&#x00A7;&#x00A7; SECTION SIGN
+&#x00AF;&#x00AF; MACRON
+&#x00B0;&#x00B0; DEGREE SIGN
+&#x00B6;&#x00B6; PILCROW SIGN
+&#x00BF;&#x00BF; INVERTED QUESTION MARK
+&#x00DE;&#x00DE; LATIN CAPITAL LETTER THORN
+&#x00DF;&#x00DF; LATIN SMALL LETTER SHARP S
+&#x00F0;&#x00F0; LATIN SMALL LETTER ETH
+&#x00FE;&#x00FE; LATIN SMALL LETTER THORN
ENDTEST
diff --git a/regress/usr.bin/mandoc/char/unicode/named.out_html b/regress/usr.bin/mandoc/char/unicode/named.out_html
index bf7605c3c0a..e8368088556 100644
--- a/regress/usr.bin/mandoc/char/unicode/named.out_html
+++ b/regress/usr.bin/mandoc/char/unicode/named.out_html
@@ -1,154 +1,154 @@
BEGINTEST
-&#305;&#305; LATIN SMALL LETTER DOTLESS I
-&#306;&#306; LATIN CAPITAL LIGATURE IJ
-&#307;&#307; LATIN SMALL LIGATURE IJ
-&#321;&#321; LATIN CAPITAL LETTER L WITH STROKE
-&#322;&#322; LATIN SMALL LETTER L WITH STROKE
-&#338;&#338; LATIN CAPITAL LIGATURE OE
-&#339;&#339; LATIN SMALL LIGATURE OE
-&#402;&#402; LATIN SMALL LETTER F WITH HOOK
-&#711;&#711; CARON
-&#728;&#728; BREVE
-&#730;&#730; RING ABOVE
-&#731;&#731; OGONEK
-&#733;&#733; DOUBLE ACUTE ACCENT
-&#913;&#913; GREEK CAPITAL LETTER ALPHA
-&#914;&#914; GREEK CAPITAL LETTER BETA
-&#916;&#916; GREEK CAPITAL LETTER DELTA
-&#917;&#917; GREEK CAPITAL LETTER EPSILON
-&#918;&#918; GREEK CAPITAL LETTER ZETA
-&#919;&#919; GREEK CAPITAL LETTER ETA
-&#920;&#920; GREEK CAPITAL LETTER THETA
-&#921;&#921; GREEK CAPITAL LETTER IOTA
-&#922;&#922; GREEK CAPITAL LETTER KAPPA
-&#923;&#923; GREEK CAPITAL LETTER LAMDA
-&#924;&#924; GREEK CAPITAL LETTER MU
-&#925;&#925; GREEK CAPITAL LETTER NU
-&#926;&#926; GREEK CAPITAL LETTER XI
-&#927;&#927; GREEK CAPITAL LETTER OMICRON
-&#928;&#928; GREEK CAPITAL LETTER PI
-&#929;&#929; GREEK CAPITAL LETTER RHO
-&#932;&#932; GREEK CAPITAL LETTER TAU
-&#933;&#933; GREEK CAPITAL LETTER UPSILON
-&#934;&#934; GREEK CAPITAL LETTER PHI
-&#935;&#935; GREEK CAPITAL LETTER CHI
-&#936;&#936; GREEK CAPITAL LETTER PSI
-&#937;&#937; GREEK CAPITAL LETTER OMEGA
-&#945;&#945; GREEK SMALL LETTER ALPHA
-&#946;&#946; GREEK SMALL LETTER BETA
-&#947;&#947; GREEK SMALL LETTER GAMMA
-&#948;&#948; GREEK SMALL LETTER DELTA
-&#949;&#949; GREEK SMALL LETTER EPSILON
-&#950;&#950; GREEK SMALL LETTER ZETA
-&#951;&#951; GREEK SMALL LETTER ETA
-&#952;&#952; GREEK SMALL LETTER THETA
-&#953;&#953; GREEK SMALL LETTER IOTA
-&#954;&#954; GREEK SMALL LETTER KAPPA
-&#955;&#955; GREEK SMALL LETTER LAMDA
-&#956;&#956; GREEK SMALL LETTER MU
-&#957;&#957; GREEK SMALL LETTER NU
-&#958;&#958; GREEK SMALL LETTER XI
-&#959;&#959; GREEK SMALL LETTER OMICRON
-&#960;&#960; GREEK SMALL LETTER PI
-&#961;&#961; GREEK SMALL LETTER RHO
-&#962;&#962; GREEK SMALL LETTER FINAL SIGMA
-&#963;&#963; GREEK SMALL LETTER SIGMA
-&#964;&#964; GREEK SMALL LETTER TAU
-&#965;&#965; GREEK SMALL LETTER UPSILON
-&#966;&#966; GREEK SMALL LETTER PHI
-&#967;&#967; GREEK SMALL LETTER CHI
-&#968;&#968; GREEK SMALL LETTER PSI
-&#969;&#969; GREEK SMALL LETTER OMEGA
-&#977;&#977; GREEK THETA SYMBOL
-&#981;&#981; GREEK PHI SYMBOL
-&#982;&#982; GREEK PI SYMBOL
-&#1013;&#1013; GREEK LUNATE EPSILON SYMBOL
-&#8208;&#8208; HYPHEN
-&#8211;&#8211; EN DASH
-&#8212;&#8212; EM DASH
-&#8216;&#8216; LEFT SINGLE QUOTATION MARK
-&#8217;&#8217; RIGHT SINGLE QUOTATION MARK
-&#8218;&#8218; SINGLE LOW-9 QUOTATION MARK
-&#8220;&#8220; LEFT DOUBLE QUOTATION MARK
-&#8221;&#8221; RIGHT DOUBLE QUOTATION MARK
-&#8222;&#8222; DOUBLE LOW-9 QUOTATION MARK
-&#8224;&#8224; DAGGER
-&#8225;&#8225; DOUBLE DAGGER
-&#8226;&#8226; BULLET
-&#8240;&#8240; PER MILLE SIGN
-&#8242;&#8242; PRIME
-&#8243;&#8243; DOUBLE PRIME
-&#8249;&#8249; SINGLE LEFT-POINTING ANGLE QUOTATION MARK
-&#8250;&#8250; SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
-&#8260;&#8260; FRACTION SLASH
-&#8364;&#8364;&#8364; EURO SIGN
-&#8465;&#8465; BLACK-LETTER CAPITAL I
-&#8476;&#8476; BLACK-LETTER CAPITAL R
-&#8482;&#8482; TRADE MARK SIGN
-&#8501;&#8501; ALEF SYMBOL
-&#8539;&#8539; VULGAR FRACTION ONE EIGHTH
-&#8540;&#8540; VULGAR FRACTION THREE EIGHTHS
-&#8541;&#8541; VULGAR FRACTION FIVE EIGHTHS
-&#8542;&#8542; VULGAR FRACTION SEVEN EIGHTHS
-&#8592;&#8592; LEFTWARDS ARROW
-&#8593;&#8593; UPWARDS ARROW
-&#8594;&#8594; RIGHTWARDS ARROW
-&#8595;&#8595; DOWNWARDS ARROW
-&#8596;&#8596; LEFT RIGHT ARROW
-&#8629;&#8629; DOWNWARDS ARROW WITH CORNER LEFTWARDS
-&#8656;&#8656; LEFTWARDS DOUBLE ARROW
-&#8657;&#8657; UPWARDS DOUBLE ARROW
-&#8658;&#8658; RIGHTWARDS DOUBLE ARROW
-&#8659;&#8659; DOWNWARDS DOUBLE ARROW
-&#8660;&#8660; LEFT RIGHT DOUBLE ARROW
-&#8704;&#8704; FOR ALL
-&#8706;&#8706; PARTIAL DIFFERENTIAL
-&#8707;&#8707; THERE EXISTS
-&#8709;&#8709; EMPTY SET
-&#8712;&#8712; ELEMENT OF
-&#8715;&#8715; CONTAINS AS MEMBER
-&#8722;&#8722; MINUS SIGN
-&#8723;&#8723; MINUS-OR-PLUS SIGN
-&#8727;&#8727; ASTERISK OPERATOR
-&#8730;&#8730; SQUARE ROOT
-&#8733;&#8733; PROPORTIONAL TO
-&#8734;&#8734; INFINITY
-&#8736;&#8736; ANGLE
-&#8743;&#8743; LOGICAL AND
-&#8744;&#8744; LOGICAL OR
-&#8745;&#8745; INTERSECTION
-&#8746;&#8746; UNION
-&#8747;&#8747; INTEGRAL
-&#8756;&#8756;&#8756; THEREFORE
-&#8764;&#8764; TILDE OPERATOR
-&#8771;&#8771; ASYMPTOTICALLY EQUAL TO
-&#8773;&#8773; APPROXIMATELY EQUAL TO
-&#8776;&#8776;&#8776; ALMOST EQUAL TO
-&#8800;&#8800; NOT EQUAL TO
-&#8801;&#8801; IDENTICAL TO
-&#8802;&#8802; NOT IDENTICAL TO
-&#8804;&#8804; LESS-THAN OR EQUAL TO
-&#8805;&#8805; GREATER-THAN OR EQUAL TO
-&#8834;&#8834; SUBSET OF
-&#8835;&#8835; SUPERSET OF
-&#8838;&#8838; SUBSET OF OR EQUAL TO
-&#8839;&#8839; SUPERSET OF OR EQUAL TO
-&#8853;&#8853; CIRCLED PLUS
-&#8855;&#8855; CIRCLED TIMES
-&#8869;&#8869; UP TACK
-&#8901;&#8901; DOT OPERATOR
-&#8968;&#8968; LEFT CEILING
-&#8969;&#8969; RIGHT CEILING
-&#8970;&#8970; LEFT FLOOR
-&#8971;&#8971; RIGHT FLOOR
-&#9130;&#9130; CURLY BRACKET EXTENSION
-&#9135;&#9135; HORIZONTAL LINE EXTENSION
-&#9474;&#9474; BOX DRAWINGS LIGHT VERTICAL
-&#9633;&#9633; WHITE SQUARE
-&#9674;&#9674; LOZENGE
-&#9675;&#9675; WHITE CIRCLE
-&#9756;&#9756; WHITE LEFT POINTING INDEX
-&#9758;&#9758; WHITE RIGHT POINTING INDEX
-&#10216;&#10216; MATHEMATICAL LEFT ANGLE BRACKET
-&#10217;&#10217; MATHEMATICAL RIGHT ANGLE BRACKET
+&#x0131;&#x0131; LATIN SMALL LETTER DOTLESS I
+&#x0132;&#x0132; LATIN CAPITAL LIGATURE IJ
+&#x0133;&#x0133; LATIN SMALL LIGATURE IJ
+&#x0141;&#x0141; LATIN CAPITAL LETTER L WITH STROKE
+&#x0142;&#x0142; LATIN SMALL LETTER L WITH STROKE
+&#x0152;&#x0152; LATIN CAPITAL LIGATURE OE
+&#x0153;&#x0153; LATIN SMALL LIGATURE OE
+&#x0192;&#x0192; LATIN SMALL LETTER F WITH HOOK
+&#x02C7;&#x02C7; CARON
+&#x02D8;&#x02D8; BREVE
+&#x02DA;&#x02DA; RING ABOVE
+&#x02DB;&#x02DB; OGONEK
+&#x02DD;&#x02DD; DOUBLE ACUTE ACCENT
+&#x0391;&#x0391; GREEK CAPITAL LETTER ALPHA
+&#x0392;&#x0392; GREEK CAPITAL LETTER BETA
+&#x0394;&#x0394; GREEK CAPITAL LETTER DELTA
+&#x0395;&#x0395; GREEK CAPITAL LETTER EPSILON
+&#x0396;&#x0396; GREEK CAPITAL LETTER ZETA
+&#x0397;&#x0397; GREEK CAPITAL LETTER ETA
+&#x0398;&#x0398; GREEK CAPITAL LETTER THETA
+&#x0399;&#x0399; GREEK CAPITAL LETTER IOTA
+&#x039A;&#x039A; GREEK CAPITAL LETTER KAPPA
+&#x039B;&#x039B; GREEK CAPITAL LETTER LAMDA
+&#x039C;&#x039C; GREEK CAPITAL LETTER MU
+&#x039D;&#x039D; GREEK CAPITAL LETTER NU
+&#x039E;&#x039E; GREEK CAPITAL LETTER XI
+&#x039F;&#x039F; GREEK CAPITAL LETTER OMICRON
+&#x03A0;&#x03A0; GREEK CAPITAL LETTER PI
+&#x03A1;&#x03A1; GREEK CAPITAL LETTER RHO
+&#x03A4;&#x03A4; GREEK CAPITAL LETTER TAU
+&#x03A5;&#x03A5; GREEK CAPITAL LETTER UPSILON
+&#x03A6;&#x03A6; GREEK CAPITAL LETTER PHI
+&#x03A7;&#x03A7; GREEK CAPITAL LETTER CHI
+&#x03A8;&#x03A8; GREEK CAPITAL LETTER PSI
+&#x03A9;&#x03A9; GREEK CAPITAL LETTER OMEGA
+&#x03B1;&#x03B1; GREEK SMALL LETTER ALPHA
+&#x03B2;&#x03B2; GREEK SMALL LETTER BETA
+&#x03B3;&#x03B3; GREEK SMALL LETTER GAMMA
+&#x03B4;&#x03B4; GREEK SMALL LETTER DELTA
+&#x03B5;&#x03B5; GREEK SMALL LETTER EPSILON
+&#x03B6;&#x03B6; GREEK SMALL LETTER ZETA
+&#x03B7;&#x03B7; GREEK SMALL LETTER ETA
+&#x03B8;&#x03B8; GREEK SMALL LETTER THETA
+&#x03B9;&#x03B9; GREEK SMALL LETTER IOTA
+&#x03BA;&#x03BA; GREEK SMALL LETTER KAPPA
+&#x03BB;&#x03BB; GREEK SMALL LETTER LAMDA
+&#x03BC;&#x03BC; GREEK SMALL LETTER MU
+&#x03BD;&#x03BD; GREEK SMALL LETTER NU
+&#x03BE;&#x03BE; GREEK SMALL LETTER XI
+&#x03BF;&#x03BF; GREEK SMALL LETTER OMICRON
+&#x03C0;&#x03C0; GREEK SMALL LETTER PI
+&#x03C1;&#x03C1; GREEK SMALL LETTER RHO
+&#x03C2;&#x03C2; GREEK SMALL LETTER FINAL SIGMA
+&#x03C3;&#x03C3; GREEK SMALL LETTER SIGMA
+&#x03C4;&#x03C4; GREEK SMALL LETTER TAU
+&#x03C5;&#x03C5; GREEK SMALL LETTER UPSILON
+&#x03C6;&#x03C6; GREEK SMALL LETTER PHI
+&#x03C7;&#x03C7; GREEK SMALL LETTER CHI
+&#x03C8;&#x03C8; GREEK SMALL LETTER PSI
+&#x03C9;&#x03C9; GREEK SMALL LETTER OMEGA
+&#x03D1;&#x03D1; GREEK THETA SYMBOL
+&#x03D5;&#x03D5; GREEK PHI SYMBOL
+&#x03D6;&#x03D6; GREEK PI SYMBOL
+&#x03F5;&#x03F5; GREEK LUNATE EPSILON SYMBOL
+&#x2010;&#x2010; HYPHEN
+&#x2013;&#x2013; EN DASH
+&#x2014;&#x2014; EM DASH
+&#x2018;&#x2018; LEFT SINGLE QUOTATION MARK
+&#x2019;&#x2019; RIGHT SINGLE QUOTATION MARK
+&#x201A;&#x201A; SINGLE LOW-9 QUOTATION MARK
+&#x201C;&#x201C; LEFT DOUBLE QUOTATION MARK
+&#x201D;&#x201D; RIGHT DOUBLE QUOTATION MARK
+&#x201E;&#x201E; DOUBLE LOW-9 QUOTATION MARK
+&#x2020;&#x2020; DAGGER
+&#x2021;&#x2021; DOUBLE DAGGER
+&#x2022;&#x2022; BULLET
+&#x2030;&#x2030; PER MILLE SIGN
+&#x2032;&#x2032; PRIME
+&#x2033;&#x2033; DOUBLE PRIME
+&#x2039;&#x2039; SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+&#x203A;&#x203A; SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+&#x2044;&#x2044; FRACTION SLASH
+&#x20AC;&#x20AC;&#x20AC; EURO SIGN
+&#x2111;&#x2111; BLACK-LETTER CAPITAL I
+&#x211C;&#x211C; BLACK-LETTER CAPITAL R
+&#x2122;&#x2122; TRADE MARK SIGN
+&#x2135;&#x2135; ALEF SYMBOL
+&#x215B;&#x215B; VULGAR FRACTION ONE EIGHTH
+&#x215C;&#x215C; VULGAR FRACTION THREE EIGHTHS
+&#x215D;&#x215D; VULGAR FRACTION FIVE EIGHTHS
+&#x215E;&#x215E; VULGAR FRACTION SEVEN EIGHTHS
+&#x2190;&#x2190; LEFTWARDS ARROW
+&#x2191;&#x2191; UPWARDS ARROW
+&#x2192;&#x2192; RIGHTWARDS ARROW
+&#x2193;&#x2193; DOWNWARDS ARROW
+&#x2194;&#x2194; LEFT RIGHT ARROW
+&#x21B5;&#x21B5; DOWNWARDS ARROW WITH CORNER LEFTWARDS
+&#x21D0;&#x21D0; LEFTWARDS DOUBLE ARROW
+&#x21D1;&#x21D1; UPWARDS DOUBLE ARROW
+&#x21D2;&#x21D2; RIGHTWARDS DOUBLE ARROW
+&#x21D3;&#x21D3; DOWNWARDS DOUBLE ARROW
+&#x21D4;&#x21D4; LEFT RIGHT DOUBLE ARROW
+&#x2200;&#x2200; FOR ALL
+&#x2202;&#x2202; PARTIAL DIFFERENTIAL
+&#x2203;&#x2203; THERE EXISTS
+&#x2205;&#x2205; EMPTY SET
+&#x2208;&#x2208; ELEMENT OF
+&#x220B;&#x220B; CONTAINS AS MEMBER
+&#x2212;&#x2212; MINUS SIGN
+&#x2213;&#x2213; MINUS-OR-PLUS SIGN
+&#x2217;&#x2217; ASTERISK OPERATOR
+&#x221A;&#x221A; SQUARE ROOT
+&#x221D;&#x221D; PROPORTIONAL TO
+&#x221E;&#x221E; INFINITY
+&#x2220;&#x2220; ANGLE
+&#x2227;&#x2227; LOGICAL AND
+&#x2228;&#x2228; LOGICAL OR
+&#x2229;&#x2229; INTERSECTION
+&#x222A;&#x222A; UNION
+&#x222B;&#x222B; INTEGRAL
+&#x2234;&#x2234;&#x2234; THEREFORE
+&#x223C;&#x223C; TILDE OPERATOR
+&#x2243;&#x2243; ASYMPTOTICALLY EQUAL TO
+&#x2245;&#x2245; APPROXIMATELY EQUAL TO
+&#x2248;&#x2248;&#x2248; ALMOST EQUAL TO
+&#x2260;&#x2260; NOT EQUAL TO
+&#x2261;&#x2261; IDENTICAL TO
+&#x2262;&#x2262; NOT IDENTICAL TO
+&#x2264;&#x2264; LESS-THAN OR EQUAL TO
+&#x2265;&#x2265; GREATER-THAN OR EQUAL TO
+&#x2282;&#x2282; SUBSET OF
+&#x2283;&#x2283; SUPERSET OF
+&#x2286;&#x2286; SUBSET OF OR EQUAL TO
+&#x2287;&#x2287; SUPERSET OF OR EQUAL TO
+&#x2295;&#x2295; CIRCLED PLUS
+&#x2297;&#x2297; CIRCLED TIMES
+&#x22A5;&#x22A5; UP TACK
+&#x22C5;&#x22C5; DOT OPERATOR
+&#x2308;&#x2308; LEFT CEILING
+&#x2309;&#x2309; RIGHT CEILING
+&#x230A;&#x230A; LEFT FLOOR
+&#x230B;&#x230B; RIGHT FLOOR
+&#x23AA;&#x23AA; CURLY BRACKET EXTENSION
+&#x23AF;&#x23AF; HORIZONTAL LINE EXTENSION
+&#x2502;&#x2502; BOX DRAWINGS LIGHT VERTICAL
+&#x25A1;&#x25A1; WHITE SQUARE
+&#x25CA;&#x25CA; LOZENGE
+&#x25CB;&#x25CB; WHITE CIRCLE
+&#x261C;&#x261C; WHITE LEFT POINTING INDEX
+&#x261E;&#x261E; WHITE RIGHT POINTING INDEX
+&#x27E8;&#x27E8; MATHEMATICAL LEFT ANGLE BRACKET
+&#x27E9;&#x27E9; MATHEMATICAL RIGHT ANGLE BRACKET
ENDTEST
diff --git a/regress/usr.bin/mandoc/char/unicode/namediff.out_html b/regress/usr.bin/mandoc/char/unicode/namediff.out_html
index fe556af1e7e..4cf287d6331 100644
--- a/regress/usr.bin/mandoc/char/unicode/namediff.out_html
+++ b/regress/usr.bin/mandoc/char/unicode/namediff.out_html
@@ -1,42 +1,42 @@
BEGINTEST
-&#567;&#567; LATIN SMALL LETTER DOTLESS J
-&#729;&#729; DOT ABOVE
-&#915;&#915; GREEK CAPITAL LETTER GAMMA
-&#931;&#931; GREEK CAPITAL LETTER SIGMA
-&#8254;&#8254; OVERLINE
-&#8463;&#8463;&#8463; PLANCK CONSTANT OVER TWO PI
-&#8472;&#8472; SCRIPT CAPITAL P
-&#8597;&#8597; UP DOWN ARROW
-&#8661;&#8661; UP DOWN DOUBLE ARROW
-&#8711;&#8711; NABLA
-&#8713;&#8713; NOT AN ELEMENT OF
-&#8719;&#8719; N-ARY PRODUCT
-&#8720;&#8720; N-ARY COPRODUCT
-&#8721;&#8721; N-ARY SUMMATION
-&#8836;&#8836; NOT A SUBSET OF
-&#8837;&#8837; NOT A SUPERSET OF
-&#9115;&#9115; LEFT PARENTHESIS UPPER HOOK
-&#9116;&#9116; LEFT PARENTHESIS EXTENSION
-&#9117;&#9117; LEFT PARENTHESIS LOWER HOOK
-&#9118;&#9118; RIGHT PARENTHESIS UPPER HOOK
-&#9119;&#9119; RIGHT PARENTHESIS EXTENSION
-&#9120;&#9120; RIGHT PARENTHESIS LOWER HOOK
-&#9121;&#9121; LEFT SQUARE BRACKET UPPER CORNER
-&#9122;&#9122; LEFT SQUARE BRACKET EXTENSION
-&#9123;&#9123; LEFT SQUARE BRACKET LOWER CORNER
-&#9124;&#9124; RIGHT SQUARE BRACKET UPPER CORNER
-&#9125;&#9125; RIGHT SQUARE BRACKET EXTENSION
-&#9126;&#9126; RIGHT SQUARE BRACKET LOWER CORNER
-&#9127;&#9127; LEFT CURLY BRACKET UPPER HOOK
-&#9128;&#9128; LEFT CURLY BRACKET MIDDLE PIECE
-&#9129;&#9129; LEFT CURLY BRACKET LOWER HOOK
-&#9130;&#9130;&#9130;&#9130; CURLY BRACKET EXTENSION
-&#9131;&#9131; RIGHT CURLY BRACKET UPPER HOOK
-&#9132;&#9132; RIGHT CURLY BRACKET MIDDLE PIECE
-&#9133;&#9133; RIGHT CURLY BRACKET LOWER HOOK
-&#9824;&#9824; BLACK SPADE SUIT
-&#9827;&#9827; BLACK CLUB SUIT
-&#9829;&#9829; BLACK HEART SUIT
-&#9830;&#9830; BLACK DIAMOND SUIT
-&#10003;&#10003; CHECK MARK
+&#x0237;&#x0237; LATIN SMALL LETTER DOTLESS J
+&#x02D9;&#x02D9; DOT ABOVE
+&#x0393;&#x0393; GREEK CAPITAL LETTER GAMMA
+&#x03A3;&#x03A3; GREEK CAPITAL LETTER SIGMA
+&#x203E;&#x203E; OVERLINE
+&#x210F;&#x210F;&#x210F; PLANCK CONSTANT OVER TWO PI
+&#x2118;&#x2118; SCRIPT CAPITAL P
+&#x2195;&#x2195; UP DOWN ARROW
+&#x21D5;&#x21D5; UP DOWN DOUBLE ARROW
+&#x2207;&#x2207; NABLA
+&#x2209;&#x2209; NOT AN ELEMENT OF
+&#x220F;&#x220F; N-ARY PRODUCT
+&#x2210;&#x2210; N-ARY COPRODUCT
+&#x2211;&#x2211; N-ARY SUMMATION
+&#x2284;&#x2284; NOT A SUBSET OF
+&#x2285;&#x2285; NOT A SUPERSET OF
+&#x239B;&#x239B; LEFT PARENTHESIS UPPER HOOK
+&#x239C;&#x239C; LEFT PARENTHESIS EXTENSION
+&#x239D;&#x239D; LEFT PARENTHESIS LOWER HOOK
+&#x239E;&#x239E; RIGHT PARENTHESIS UPPER HOOK
+&#x239F;&#x239F; RIGHT PARENTHESIS EXTENSION
+&#x23A0;&#x23A0; RIGHT PARENTHESIS LOWER HOOK
+&#x23A1;&#x23A1; LEFT SQUARE BRACKET UPPER CORNER
+&#x23A2;&#x23A2; LEFT SQUARE BRACKET EXTENSION
+&#x23A3;&#x23A3; LEFT SQUARE BRACKET LOWER CORNER
+&#x23A4;&#x23A4; RIGHT SQUARE BRACKET UPPER CORNER
+&#x23A5;&#x23A5; RIGHT SQUARE BRACKET EXTENSION
+&#x23A6;&#x23A6; RIGHT SQUARE BRACKET LOWER CORNER
+&#x23A7;&#x23A7; LEFT CURLY BRACKET UPPER HOOK
+&#x23A8;&#x23A8; LEFT CURLY BRACKET MIDDLE PIECE
+&#x23A9;&#x23A9; LEFT CURLY BRACKET LOWER HOOK
+&#x23AA;&#x23AA;&#x23AA;&#x23AA; CURLY BRACKET EXTENSION
+&#x23AB;&#x23AB; RIGHT CURLY BRACKET UPPER HOOK
+&#x23AC;&#x23AC; RIGHT CURLY BRACKET MIDDLE PIECE
+&#x23AD;&#x23AD; RIGHT CURLY BRACKET LOWER HOOK
+&#x2660;&#x2660; BLACK SPADE SUIT
+&#x2663;&#x2663; BLACK CLUB SUIT
+&#x2665;&#x2665; BLACK HEART SUIT
+&#x2666;&#x2666; BLACK DIAMOND SUIT
+&#x2713;&#x2713; CHECK MARK
ENDTEST
diff --git a/regress/usr.bin/mandoc/char/unicode/nogroff.out_html b/regress/usr.bin/mandoc/char/unicode/nogroff.out_html
index 56e1fe7e760..a865d2d1917 100644
--- a/regress/usr.bin/mandoc/char/unicode/nogroff.out_html
+++ b/regress/usr.bin/mandoc/char/unicode/nogroff.out_html
@@ -1,37 +1,37 @@
BEGINTEST
-&#65533;&#65533; &lt;control&gt; NULL
-&#65533;&#65533; &lt;control&gt; START OF HEADING
-&#65533;&#65533; &lt;control&gt; BELL
-&#65533;&#65533; &lt;control&gt; BACKSPACE
+&#xFFFD;&#xFFFD; &lt;control&gt; NULL
+&#xFFFD;&#xFFFD; &lt;control&gt; START OF HEADING
+&#xFFFD;&#xFFFD; &lt;control&gt; BELL
+&#xFFFD;&#xFFFD; &lt;control&gt; BACKSPACE
&lt;control&gt; CHARACTER TABULATION
-&#65533;&#65533; &lt;control&gt; LINE FEED
-&#65533;&#65533; &lt;control&gt; LINE TABULATION
-&#65533;&#65533; &lt;control&gt; FORM FEED
-&#65533;&#65533; &lt;control&gt; CARRIAGE RETURN
-&#65533;&#65533; &lt;control&gt; ESCAPE
-&#65533;&#65533; &lt;control&gt; DELETE
-&#65533;&#65533; &lt;control&gt; 0x80
-&#65533;&#65533; &lt;control&gt; 0x81
-&#65533;&#65533; &lt;control&gt; BREAK PERMITTED HERE
-&#65533;&#65533; &lt;control&gt; NO BREAK HERE
-&#65533;&#65533; &lt;control&gt; PRIVACY MESSAGE
-&#65533;&#65533; &lt;control&gt; APPLICATION PROGRAM COMMAND
-&#8810;&#8810; MUCH LESS-THAN
-&#8811;&#8811; MUCH GREATER-THAN
-&#64256;&#64256; LATIN SMALL LIGATURE FF
-&#64257;&#64257; LATIN SMALL LIGATURE FI
-&#64258;&#64258; LATIN SMALL LIGATURE FL
-&#64259;&#64259; LATIN SMALL LIGATURE FFI
-&#64260;&#64260; LATIN SMALL LIGATURE FFL
-&#65533; REPLACEMENT CHARACTER
-&#65534; &lt;undefined&gt;
-&#65535; &lt;undefined&gt;
-&#65536; LINEAR B SYLLABLE B008 A
-&#1048573; &lt;Plane 15 Private Use, Last&gt;
-&#1048574; &lt;undefined&gt;
-&#1048575; &lt;undefined&gt;
-&#1048576; &lt;Plane 16 Private Use, First&gt;
-&#1114109; &lt;Plane 16 Private Use, Last&gt;
-&#1114110; &lt;undefined&gt;
-&#1114111; &lt;undefined&gt;
+&#xFFFD;&#xFFFD; &lt;control&gt; LINE FEED
+&#xFFFD;&#xFFFD; &lt;control&gt; LINE TABULATION
+&#xFFFD;&#xFFFD; &lt;control&gt; FORM FEED
+&#xFFFD;&#xFFFD; &lt;control&gt; CARRIAGE RETURN
+&#xFFFD;&#xFFFD; &lt;control&gt; ESCAPE
+&#xFFFD;&#xFFFD; &lt;control&gt; DELETE
+&#xFFFD;&#xFFFD; &lt;control&gt; 0x80
+&#xFFFD;&#xFFFD; &lt;control&gt; 0x81
+&#xFFFD;&#xFFFD; &lt;control&gt; BREAK PERMITTED HERE
+&#xFFFD;&#xFFFD; &lt;control&gt; NO BREAK HERE
+&#xFFFD;&#xFFFD; &lt;control&gt; PRIVACY MESSAGE
+&#xFFFD;&#xFFFD; &lt;control&gt; APPLICATION PROGRAM COMMAND
+&#x226A;&#x226A; MUCH LESS-THAN
+&#x226B;&#x226B; MUCH GREATER-THAN
+&#xFB00;&#xFB00; LATIN SMALL LIGATURE FF
+&#xFB01;&#xFB01; LATIN SMALL LIGATURE FI
+&#xFB02;&#xFB02; LATIN SMALL LIGATURE FL
+&#xFB03;&#xFB03; LATIN SMALL LIGATURE FFI
+&#xFB04;&#xFB04; LATIN SMALL LIGATURE FFL
+&#xFFFD; REPLACEMENT CHARACTER
+&#xFFFE; &lt;undefined&gt;
+&#xFFFF; &lt;undefined&gt;
+&#x10000; LINEAR B SYLLABLE B008 A
+&#xFFFFD; &lt;Plane 15 Private Use, Last&gt;
+&#xFFFFE; &lt;undefined&gt;
+&#xFFFFF; &lt;undefined&gt;
+&#x100000; &lt;Plane 16 Private Use, First&gt;
+&#x10FFFD; &lt;Plane 16 Private Use, Last&gt;
+&#x10FFFE; &lt;undefined&gt;
+&#x10FFFF; &lt;undefined&gt;
ENDTEST
diff --git a/regress/usr.bin/mandoc/eqn/fromto/basic.out_html b/regress/usr.bin/mandoc/eqn/fromto/basic.out_html
index a5789c1962a..a1dbe244d26 100644
--- a/regress/usr.bin/mandoc/eqn/fromto/basic.out_html
+++ b/regress/usr.bin/mandoc/eqn/fromto/basic.out_html
@@ -1 +1 @@
-<mrow><munderover><mo>&#8721;</mo><mrow><mi>i</mi><mo>=</mo><mn>1</mn></mrow><mo>&#8734;</mo></munderover><mfrac><mn>1</mn><msup><mi>i</mi><mn>2</mn></msup></mfrac></mrow>
+<mrow><munderover><mo>&#x2211;</mo><mrow><mi>i</mi><mo>=</mo><mn>1</mn></mrow><mo>&#x221E;</mo></munderover><mfrac><mn>1</mn><msup><mi>i</mi><mn>2</mn></msup></mfrac></mrow>
diff --git a/regress/usr.bin/mandoc/eqn/nullary/roman.out_html b/regress/usr.bin/mandoc/eqn/nullary/roman.out_html
index 151c858bba1..59497add2e4 100644
--- a/regress/usr.bin/mandoc/eqn/nullary/roman.out_html
+++ b/regress/usr.bin/mandoc/eqn/nullary/roman.out_html
@@ -4,12 +4,12 @@ words:</mi></mrow><mi>sin</mi><mi>cos</mi><mi>tan</mi>
<mi>asin</mi><mi>acos</mi><mi>atan</mi><mi>asec</mi>
<mi>acsc</mi><mi>sinh</mi>
<mi>cosh</mi><mi>tanh</mi><mi>coth</mi><mi>arc</mi>
-<mi>max</mi><mi>min</mi><mi>lim</mi><mi>log</mi><mi>ln</mi><mi>exp</mi><mi>Re</mi><mi>Im</mi><mi>and</mi><mi>if</mi><mi>for</mi><mi>det</mi><mo>&#8212;</mo><mrow><mi>quoted
+<mi>max</mi><mi>min</mi><mi>lim</mi><mi>log</mi><mi>ln</mi><mi>exp</mi><mi>Re</mi><mi>Im</mi><mi>and</mi><mi>if</mi><mi>for</mi><mi>det</mi><mo>&#x2014;</mo><mrow><mi>quoted
words:</mi></mrow>
<mi fontstyle="italic">sin</mi><mi fontstyle="italic">cos</mi>
-<mi fontstyle="italic">tan</mi><mi fontstyle="italic">sec</mi><mi fontstyle="italic">csc</mi><mi fontstyle="italic">asin</mi><mi fontstyle="italic">acos</mi><mi fontstyle="italic">atan</mi><mi fontstyle="italic">asec</mi><mi fontstyle="italic">acsc</mi><mi fontstyle="italic">sinh</mi><mi fontstyle="italic">cosh</mi><mi fontstyle="italic">tanh</mi><mi fontstyle="italic">coth</mi><mi fontstyle="italic">arc</mi><mi fontstyle="italic">max</mi><mi fontstyle="italic">min</mi><mi fontstyle="italic">lim</mi><mi fontstyle="italic">log</mi><mi fontstyle="italic">ln</mi><mi fontstyle="italic">exp</mi><mi fontstyle="italic">Re</mi><mi fontstyle="italic">Im</mi><mi fontstyle="italic">and</mi><mi fontstyle="italic">if</mi><mi fontstyle="italic">for</mi><mi fontstyle="italic">det</mi><mo>&#8212;</mo><mrow><mi>font
+<mi fontstyle="italic">tan</mi><mi fontstyle="italic">sec</mi><mi fontstyle="italic">csc</mi><mi fontstyle="italic">asin</mi><mi fontstyle="italic">acos</mi><mi fontstyle="italic">atan</mi><mi fontstyle="italic">asec</mi><mi fontstyle="italic">acsc</mi><mi fontstyle="italic">sinh</mi><mi fontstyle="italic">cosh</mi><mi fontstyle="italic">tanh</mi><mi fontstyle="italic">coth</mi><mi fontstyle="italic">arc</mi><mi fontstyle="italic">max</mi><mi fontstyle="italic">min</mi><mi fontstyle="italic">lim</mi><mi fontstyle="italic">log</mi><mi fontstyle="italic">ln</mi><mi fontstyle="italic">exp</mi><mi fontstyle="italic">Re</mi><mi fontstyle="italic">Im</mi><mi fontstyle="italic">and</mi><mi fontstyle="italic">if</mi><mi fontstyle="italic">for</mi><mi fontstyle="italic">det</mi><mo>&#x2014;</mo><mrow><mi>font
operations:</mi></mrow>
-<mrow><mi>sin</mi></mrow><mrow><mi fontweight="bold">sin</mi></mrow><mo>&#8212;</mo><mrow><mi>superstring:</mi></mrow><mi fontstyle="italic">sinus</mi><mo>&#8212;</mo><mrow><mi>composite
+<mrow><mi>sin</mi></mrow><mrow><mi fontweight="bold">sin</mi></mrow><mo>&#x2014;</mo><mrow><mi>superstring:</mi></mrow><mi fontstyle="italic">sinus</mi><mo>&#x2014;</mo><mrow><mi>composite
word:</mi></mrow>
<mi>tan</mi><mo>=</mo><mi fontstyle="italic">sin</mi><mo>/</mo>
<mi fontstyle="italic">cos</mi></mrow>
diff --git a/regress/usr.bin/mandoc/eqn/nullary/symbol.out_html b/regress/usr.bin/mandoc/eqn/nullary/symbol.out_html
index 4e07edc4833..3ca69c2e496 100644
--- a/regress/usr.bin/mandoc/eqn/nullary/symbol.out_html
+++ b/regress/usr.bin/mandoc/eqn/nullary/symbol.out_html
@@ -1,6 +1,6 @@
<mrow><mrow><mi>unquoted
-words:</mi></mrow><mo>&#949;</mo><mo>&#8242;</mo><mo>&#8212;</mo>
-<mrow><mi>quoted words:</mi></mrow>
-<mi fontstyle="italic">epsilon</mi><mi fontstyle="italic">prime</mi><mo>&#8212;</mo><mrow><mi>composite
+words:</mi></mrow><mo>&#x03B5;</mo><mo>&#x2032;</mo><mo>&#x2014;</mo><mrow><mi>quoted
+words:</mi></mrow>
+<mi fontstyle="italic">epsilon</mi><mi fontstyle="italic">prime</mi><mo>&#x2014;</mo><mrow><mi>composite
word:</mi></mrow>
<mi fontstyle="italic">epsilon</mi><mo>-</mo><mi fontstyle="italic">prime</mi></mrow>
diff --git a/regress/usr.bin/mandoc/eqn/subsup/precedence.out_html b/regress/usr.bin/mandoc/eqn/subsup/precedence.out_html
index 1cad9ce2d94..d5579c7641e 100644
--- a/regress/usr.bin/mandoc/eqn/subsup/precedence.out_html
+++ b/regress/usr.bin/mandoc/eqn/subsup/precedence.out_html
@@ -1 +1 @@
-<mrow><msubsup><mover><mi>x</mi><mo>^</mo></mover><munder><mn>1</mn><mo>_</mo></munder><mover><mn>2</mn><mo></mo></mover></msubsup><mo>+</mo><msup><mover><mi>e</mi><mo>~</mo></mover><msub><mover><mi>x</mi><mo>^</mo></mover><mover><mi>s</mi><mo>&#8596;</mo></mover></msub></msup><mo>;</mo><msubsup><mrow><mi fontstyle="normal">I</mi></mrow><mrow><mi fontweight="bold">I</mi></mrow><mrow><mi>I</mi></mrow></msubsup><mo>+</mo><msup><mrow><mi fontstyle="normal">I</mi></mrow><msub><mrow><mi fontweight="bold">I</mi></mrow><mrow><mi>I</mi></mrow></msub></msup></mrow>
+<mrow><msubsup><mover><mi>x</mi><mo>^</mo></mover><munder><mn>1</mn><mo>_</mo></munder><mover><mn>2</mn><mo></mo></mover></msubsup><mo>+</mo><msup><mover><mi>e</mi><mo>~</mo></mover><msub><mover><mi>x</mi><mo>^</mo></mover><mover><mi>s</mi><mo>&#x2194;</mo></mover></msub></msup><mo>;</mo><msubsup><mrow><mi fontstyle="normal">I</mi></mrow><mrow><mi fontweight="bold">I</mi></mrow><mrow><mi>I</mi></mrow></msubsup><mo>+</mo><msup><mrow><mi fontstyle="normal">I</mi></mrow><msub><mrow><mi fontweight="bold">I</mi></mrow><mrow><mi>I</mi></mrow></msub></msup></mrow>
diff --git a/regress/usr.bin/mandoc/eqn/unary/diacrit.out_html b/regress/usr.bin/mandoc/eqn/unary/diacrit.out_html
index d3d4d3613af..f03f83238b5 100644
--- a/regress/usr.bin/mandoc/eqn/unary/diacrit.out_html
+++ b/regress/usr.bin/mandoc/eqn/unary/diacrit.out_html
@@ -1 +1 @@
-<mrow><mover><mi>x</mi><mo>&#729;</mo></mover><mover><mi>x</mi><mo>&#168;</mo></mover><mover><mi>x</mi><mo>^</mo></mover><mover><mi>x</mi><mo>~</mo></mover><mover><mi>x</mi><mo>&#8594;</mo></mover><mover><mi>x</mi><mo>&#8596;</mo></mover><mover><mrow><mi>x</mi><mo>+</mo><mi>y</mi></mrow><mo></mo></mover><munder><mrow><mi>x</mi><mo>+</mo><mi>y</mi></mrow><mo>_</mo></munder><mover><mover><mi>x</mi><mo>~</mo></mover><mo>^</mo></mover></mrow>
+<mrow><mover><mi>x</mi><mo>&#x02D9;</mo></mover><mover><mi>x</mi><mo>&#x00A8;</mo></mover><mover><mi>x</mi><mo>^</mo></mover><mover><mi>x</mi><mo>~</mo></mover><mover><mi>x</mi><mo>&#x2192;</mo></mover><mover><mi>x</mi><mo>&#x2194;</mo></mover><mover><mrow><mi>x</mi><mo>+</mo><mi>y</mi></mrow><mo></mo></mover><munder><mrow><mi>x</mi><mo>+</mo><mi>y</mi></mrow><mo>_</mo></munder><mover><mover><mi>x</mi><mo>~</mo></mover><mo>^</mo></mover></mrow>