From: Maxence Guesdon <maxence.guesdon@inria.fr>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] ocamldoc charset specification?
Date: Mon, 7 Nov 2005 14:50:47 +0100 [thread overview]
Message-ID: <20051107145047.4e6971cb@tintin.inria.fr> (raw)
In-Reply-To: <4360AF46.7060201@andrej.com>
On Thu, 27 Oct 2005 12:43:18 +0200
Andrej Bauer <Andrej.Bauer@andrej.com> wrote:
> Is it possible to tell ocamldoc that the generated HTML files should
> specify that they are encoded in a given charset (in my case
> iso-8859-2)? Or is there a way to tell in a CSS stylesheet that the
> encoding of the HTML file is iso-8859-2?
>
> If neither of the above is possible, what is a reasonable solution? I
> would like to avoid the use of .htaccess and DefaultCharset directive,
> if possible.
>
> Note: I am not asking for ocamldoc to recode from one charset to
> another, just to put information about the encoding in the html file.
Hello,
Two solutions:
1) make a string replacement after the generation of html files.
2) create a custom ocamldoc generator with a geenrator class inheriting from
the standard html generator and change the part where the encoding is
generated.
Regards,
--
Maxence Guesdon
next prev parent reply other threads:[~2005-11-07 13:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-27 10:43 Andrej Bauer
2005-11-07 13:50 ` Maxence Guesdon [this message]
2005-11-07 17:02 ` [Caml-list] " Andrej Bauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051107145047.4e6971cb@tintin.inria.fr \
--to=maxence.guesdon@inria.fr \
--cc=caml-list@yquem.inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox