This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: ISO-8859-2 encoding in SGML ?
- To: Aleksandar Simic' <alex at frustum dot clara dot co dot uk>
- Subject: Re: DOCBOOK-APPS: ISO-8859-2 encoding in SGML ?
- From: Jirka Kosek <jirka at kosek dot cz>
- Date: Wed, 21 Mar 2001 19:48:16 +0100
- Cc: docbook-apps at lists dot oasis-open dot org
- References: <20010320140456.A1385@frustum.clara.co.uk>
Aleksandar Simic' wrote:
> If I were to use ISO-8859-2 encoding in a SGML document how would I go
> about it ?The idea is to use software available on FreeBSD, ie. freely
> available software, since it will be used to typeset FreeBSD's
> documentation. I've already asked the FreeBSD documentation people and
> they weren't sure.
Everything what you need is to set environment variable SP_ENCODING to
value ISO-8859-2. Then you can process files which contain ISO-8859-2
characters by Jade and nsgmls.
IMHO it is better to use XML version of DocBook, because XML is able to
carry encoding information in the body of file:
<?xml version="1.0" encoding="iso-8859-2"?>
<!DOCTYPE book
....
If you than set SP_ENCODING to XML, Jade and nsgmls will automatically
switch to encoding specified in XML declaration.
-----------------------------------------------------------------
Jirka Kosek
e-mail: jirka@kosek.cz
http://www.kosek.cz
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org