Version française
Home     About     Download     Resources     Contact us    
Browse thread
ocamldoc charset specification?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Maxence Guesdon <maxence.guesdon@i...>
Subject: Re: [Caml-list] ocamldoc charset specification?
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