Re: Accents in SGML - Mailing list pgsql-docs

From Peter Eisentraut
Subject Re: Accents in SGML
Date
Msg-id Pine.LNX.4.30.0201291052480.690-100000@peter.localdomain
Whole thread Raw
In response to Accents in SGML  (Roberto Mello <rmello@cc.usu.edu>)
List pgsql-docs
Roberto Mello writes:

> We're translating the PG docs to Portuguese and we're trying to find out
> the proper way to get accent characters in the SGML sources.
>
> I've found different approaches by looking around. Some say to just
> include the characters in the sources. Are there shortcuts like HTML's
> "á"?

Yes, they are the same in DocBook.  (There's a list of all of them at the
end of DocBook: The Definitive Guide.)  If you convert DocBook to HTML
they will actually be carried over, so you ought to constrain yourself to
the subset that browsers can handle.

However, there's really no need to do that.  You can enter any characters
you want unencoded, as long as you tell the processing tools what your
character set is.  As it happens, ISO 8859-1 is the default for jade, so
for Portuguese you don't have to do anything special.

--
Peter Eisentraut   peter_e@gmx.net


pgsql-docs by date:

Previous
From: Roberto Mello
Date:
Subject: Accents in SGML
Next
From: Justin Clift
Date:
Subject: Indices or Indexes