Package: libgdome2-ocaml-dev
Version: 0.2.3-2
Severity: wishlist
I'm still using 0.2.3-2 since not all ocaml packages built against 3.09.0 are
uploaded to the archive, but I think the situation does not change here.
I wish encoding support be added so that XML dom trees can be saved to file or
string in specified encoding. Otherwise, non-Western characters will be
encoded as something like "英语字", which is not nice to
human eyes.
I noticed gdome2 has the following to functions, which are exactly what I'm
looking for in OCaml.
GdomeBoolean gdome_di_saveDocToFileEnc (GdomeDOMImplementation *self,
GdomeDocument *doc,
const char *filename,
const char *encoding,
GdomeSavingCode mode,
GdomeException *exc);
GdomeBoolean gdome_di_saveDocToMemoryEnc (GdomeDOMImplementation *self,
GdomeDocument *doc,
char **mem,
const char *encoding,
GdomeSavingCode mode,
GdomeException *exc);
Would it be possible to include these functions in libgdome2-ocaml API, or the
said functionalities already exist in the ocaml binding?
Thanks!
shouxun
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]