This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ISO-8859-2 encoding in SGML ?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]