Ocamlnet 3 Reference Manual : Netencoding.Html

`sig
val encode_from_latin1 : string -> string
val decode_to_latin1 : string -> string
val unsafe_chars_html4 : string
val encode :
in_enc:Netconversion.encoding ->
?out_enc:Netconversion.encoding ->
?prefer_name:bool -> ?unsafe_chars:string -> unit -> string -> string
type entity_set = [ `Empty | `Html | `Xml ]
val decode :
in_enc:Netconversion.encoding ->
out_enc:Netconversion.encoding ->
?lookup:(string -> string) ->
?subst:(int -> string) ->
?entity_base:Netencoding.Html.entity_set -> unit -> string -> string
end`