[#BloombergLP-balxml-Reader-documentEncoding] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Reader.adoc[Reader]::documentEncoding :relfileprefix: ../../../ :mrdocs: Return the document encoding or NULL on error. 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. == Synopsis Declared in `<balxml_reader.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual char const* documentEncoding() const = 0; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#