diff --git a/expat/doc/reference.html b/expat/doc/reference.html index 8f97b1c0..11674973 100644 --- a/expat/doc/reference.html +++ b/expat/doc/reference.html @@ -1038,9 +1038,13 @@ typedef int XML_Encoding *info);
Set a handler to deal with encodings other than the -built in set. If the handler knows how -to deal with an encoding with the given name, it should fill in the info -data structure and return 1. Otherwise it should return 0.
+built in set. This should be done before +XML_Parse or XML_ParseBuffer have been called on the given parser. +If the handler knows how to deal with an encoding with the given name,
+it should fill in the info data structure and return 1. Otherwise it should
+return 0. The handler will be called at most once per parsed (external) entity.
+The optional application data pointer encodingHandlerData
+will be passed back to the handler.
typedef struct {