1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-31 22:04:40 +03:00

doc: update guidelines on non-ASCII characters in docs

This commit is contained in:
Bruce Momjian
2025-05-03 14:45:26 -04:00
parent 24987c6f06
commit fb21ed6c38

View File

@ -22,13 +22,14 @@ others only support Latin-1 characters. Specifically, the PDF rendering
engine can only display Latin-1 characters; non-Latin-1 Unicode engine can only display Latin-1 characters; non-Latin-1 Unicode
characters are displayed as "###". characters are displayed as "###".
Therefore, in the SGML files, we only use Latin-1 characters. We Therefore, in the SGML files, we can only use Latin-1 characters. We
typically encode these characters as HTML entities, e.g., Álvaro. can use UTF8 representations of Latin-1 characters, or HTML entities of
It is also possible to safely represent Latin-1 characters in UTF8 Latin-1 characters, e.g., Álvaro.
encoding for all output formats.
Do not use UTF numeric character escapes (&#nnn;). Do not use UTF numeric character escapes (&#nnn;).
When building the PDF docs, problem characters will appear as warnings.
HTML entities HTML entities
official: http://www.w3.org/TR/html4/sgml/entities.html official: http://www.w3.org/TR/html4/sgml/entities.html
one page: http://www.zipcon.net/~swhite/docs/computers/browsers/entities_page.html one page: http://www.zipcon.net/~swhite/docs/computers/browsers/entities_page.html