standard.lib.xml.htmlGetMetaEncoding

htmlGetMetaEncoding is available since version 1.0.

Prototype:

string htmlGetMetaEncoding(number doc)

Parameters

doc
the HTML document tree handle

Description:

Encoding definition lookup in the Meta tags.

Return value:

Returns the current encoding as flagged in the HTML source.