Thanks, Bruce !

Oleg
On Thu, 13 Aug 2009, Bruce Momjian wrote:

Peter Eisentraut wrote:
On Thursday 13 August 2009 18:07:51 Alvaro Herrera wrote:
Oleg Bartunov wrote:
Peter,

how to write accented characters in sgml ? Is't not allowed to write
them as is ?

á for ?, etc.  You can't use characters that aren't in Latin-1 I
think. Writing them literally is not allowed.

It's somehow possible, but it's not as straightforward as say with XML.  And
you might get into a Latin-1 vs UTF-8 mixup.  At least that's what I noticed
in my limited testing the other day.

The top of release.sgml has instructions on that because that is often
something we need to do for names in release notes:

       non-ASCII characters            convert to HTML4 entity (&) escapes

       official:      http://www.w3.org/TR/html4/sgml/entities.html
       one page:      
http://www.zipcon.net/~swhite/docs/computers/browsers/entities_page.html
       other lists:   
http://www.zipcon.net/~swhite/docs/computers/browsers/entities.html
                      
http://www.zipcon.net/~swhite/docs/computers/browsers/entities_page.html
                      
http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references

       we cannot use UTF8 because SGML Docbook
       does not support it
         http://www.pemberley.com/janeinfo/latin1.html#latexta



        Regards,
                Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: o...@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to