htmlSetMetaEncoding is available since version 1.0.
Prototype:
number htmlSetMetaEncoding(number doc, string encoding)
Parameters
doc
he HTML tree document handle
encoding
the document encoding
Description:
Sets the current encoding in the Meta tags.
NOTE: this will not change the document content encoding, just the META flag associated.
Return value:
Returns 0 in case of success and -1 in case of error.