func HtmlGetMetaEncoding(d *C.xmlDoc) string { s := C.htmlGetMetaEncoding(d) return xmlCharToString(s) }
func (doc *HtmlDocument) MetaEncoding() string { metaEncodingXmlCharPtr := C.htmlGetMetaEncoding((*C.xmlDoc)(doc.DocPtr())) return C.GoString((*C.char)(unsafe.Pointer(metaEncodingXmlCharPtr))) }
// htmlGetMetaEncoding func (doc *HTMLDocument) GetMetaEncoding() string { cstr := C.htmlGetMetaEncoding(doc.Ptr) return C.GoString(C.to_charptr(cstr)) }