[#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. == Synopsis Declared in `<balxml_utf8readerwrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual char const* documentEncoding() const override; ---- == Description The returned pointer 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. == Return Value the document encoding, or NULL on error [.small]#Created with https://www.mrdocs.com[MrDocs]#