Now that we have non-Latin1 SGML detection, restore Latin1 chars
authorBruce Momjian <bruce@momjian.us>
Tue, 3 Dec 2024 22:09:49 +0000 (17:09 -0500)
committerBruce Momjian <bruce@momjian.us>
Tue, 3 Dec 2024 22:09:49 +0000 (17:09 -0500)
This reverts the change in commit 641a5b7a144 that converted them to
HTML entities.

Reported-by: Peter Eisentraut
Discussion: https://postgr.es/m/Z05ssoVheWI-rqax@momjian.us

Backpatch-through: master

doc/src/sgml/charset.sgml
doc/src/sgml/stylesheet-man.xsl

index 00e1986849aedf0bbe1c27890e5ff61bcc05eb33..6c633678790e443155f9d4e7f40957af0eaa8f98 100644 (file)
@@ -1225,7 +1225,7 @@ CREATE COLLATION ignore_accents (provider = icu, locale = 'und-u-ks-level1-kc-tr
 <programlisting>
 -- ignore differences in accents and case
 CREATE COLLATION ignore_accent_case (provider = icu, deterministic = false, locale = 'und-u-ks-level1');
-SELECT '&Aring;' = 'A' COLLATE ignore_accent_case; -- true
+SELECT 'Å' = 'A' COLLATE ignore_accent_case; -- true
 SELECT 'z' = 'Z' COLLATE ignore_accent_case; -- true
 
 -- upper case letters sort before lower case.
@@ -1282,7 +1282,7 @@ SELECT 'w;x*y-z' = 'wxyz' COLLATE num_ignore_punct; -- true
          <entry><literal>'ab' = U&amp;'a\2063b'</literal></entry>
          <entry><literal>'x-y' = 'x_y'</literal></entry>
          <entry><literal>'g' = 'G'</literal></entry>
-         <entry><literal>'n' = '&ntilde;'</literal></entry>
+         <entry><literal>'n' = 'ñ'</literal></entry>
          <entry><literal>'y' = 'z'</literal></entry>
         </row>
        </thead>
@@ -1346,7 +1346,7 @@ SELECT 'w;x*y-z' = 'wxyz' COLLATE num_ignore_punct; -- true
 
     <para>
      At every level, even with full normalization off, basic normalization is
-     performed. For example, <literal>'&aacute;'</literal> may be composed of the
+     performed. For example, <literal>'á'</literal> may be composed of the
      code points <literal>U&amp;'\0061\0301'</literal> or the single code
      point <literal>U&amp;'\00E1'</literal>, and those sequences will be
      considered equal even at the <literal>identic</literal> level. To treat
@@ -1430,8 +1430,8 @@ SELECT 'x-y' = 'x_y' COLLATE level4; -- false
          <entry><literal>false</literal></entry>
          <entry>
           Backwards comparison for the level 2 differences. For example,
-          locale <literal>und-u-kb</literal> sorts <literal>'&agrave;e'</literal>
-          before <literal>'a&eacute;'</literal>.
+          locale <literal>und-u-kb</literal> sorts <literal>'àe'</literal>
+          before <literal>'aé'</literal>.
          </entry>
         </row>
 
index 2e2564da683b48346b0c1d25fc4d594cc8c54a4f..fcb485c29319d6a5205ccafbf1a27b11c53615e8 100644 (file)
     <!-- Slight rephrasing to indicate that missing sections are found
          in the documentation. -->
     <l:context name="xref-number-and-title">
-      <l:template name="chapter" text="Chapter %n, &quot;%t&quot;, in the documentation"/>
-      <l:template name="sect1" text="Section %n, &quot;%t&quot;, in the documentation"/>
-      <l:template name="sect2" text="Section %n, &quot;%t&quot;, in the documentation"/>
-      <l:template name="sect3" text="Section %n, &quot;%t&quot;, in the documentation"/>
-      <l:template name="sect4" text="Section %n, &quot;%t&quot;, in the documentation"/>
-      <l:template name="sect5" text="Section %n, &quot;%t&quot;, in the documentation"/>
+      <l:template name="chapter" text="Chapter %n, %t, in the documentation"/>
+      <l:template name="sect1" text="Section %n, “%t”, in the documentation"/>
+      <l:template name="sect2" text="Section %n, “%t”, in the documentation"/>
+      <l:template name="sect3" text="Section %n, “%t”, in the documentation"/>
+      <l:template name="sect4" text="Section %n, “%t”, in the documentation"/>
+      <l:template name="sect5" text="Section %n, “%t”, in the documentation"/>
     </l:context>
   </l:l10n>
 </l:i18n>