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: HTML from docbook


Adam Di Carlo wrote:

> > Oleg Amiton wrote:
> > Put following code into your customized stylesheet:
> >
> > (define %html-header-tags%
> >   '(("META" ("HTTP-EQUIV" "Content-Type") ("CONTENT" "text/html;
> > charset=koi8-r"))))
> 
> Should the stylesheets do this automatically?  Can we know the
> encoding of the output based on the language of the document?

I'm not sure, but I think that output encoding depends on Jade
configuration (SP_ENCODING environment variable) and there is no way,
how to get this value in DSSSL stylesheet. 

There are also langauges that can use several different encodings. For
example for Czech langauge, HTML pages should be in ISO-8859-2 as this
is standard. But 95 % of users have Windows machines, so encoding is
usually set to windows-1250. This encoding has some advantages over
ISO-8859-2 - it contains emdash, endash, quotes and some other very
useful characters.

-----------------------------------------------------------------
  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]