/* Register the char encoding handler, surprising, isn't it ?  */
void xmlRegisterCharEncodingHandler(xmlCharEncodingHandlerPtr handler)
/* Register the char encoding handler, surprising, isn't it ?  */
void xmlRegisterCharEncodingHandler(xmlCharEncodingHandlerPtr handler)
{
        xmlEncodingErr(XML_I18N_NO_HANDLER,
		"xmlRegisterCharEncodingHandler: NULL handler !\n", NULL);
	return;
    }
    if (nbCharEncodingHandler >= MAX_ENCODING_HANDLERS) {
        xmlEncodingErr(XML_I18N_EXCESS_HANDLER,
	"xmlRegisterCharEncodingHandler: Too many handler registered, see %s\n",
	               "MAX_ENCODING_HANDLERS");
	return;
    }
    handlers[nbCharEncodingHandler++] = handler;
}