mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-13 08:02:56 +00:00
Added more detail about the unknownEncodingHandler.
This commit is contained in:
parent
de7c8418bb
commit
c2f6f06d91
1 changed files with 7 additions and 3 deletions
|
@ -1038,9 +1038,13 @@ typedef int
|
|||
XML_Encoding *info);
|
||||
</pre>
|
||||
<p>Set a handler to deal with encodings other than the
|
||||
<a href="#builtin_encodings">built in set</a>. 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.</p>
|
||||
<a href="#builtin_encodings">built in set</a>. This should be done before
|
||||
XML_Parse or XML_ParseBuffer have been called on the given parser.</p>
|
||||
<p>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 <code>encodingHandlerData</code>
|
||||
will be passed back to the handler.</p>
|
||||
|
||||
<pre>
|
||||
typedef struct {
|
||||
|
|
Loading…
Add table
Reference in a new issue