[#BloombergLP-balxml-Utf8ReaderWrapper-documentEncoding] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Utf8ReaderWrapper.adoc[Utf8ReaderWrapper]::documentEncoding :relfileprefix: ../../../ :mrdocs: Return the document encoding or NULL on error. The returned poiner is owned by this object and must not be modified or deallocated by the caller. The returned pointer becomes invalid when `close` is called or the reader is destroyed. == Synopsis Declared in `<balxml_utf8readerwrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual char const* documentEncoding() const override; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#