set XML encoding to UTF-8 by default
Signed-off-by:Jonathan <Jonathan@192.168.1.1>
trim values from XML fields and improve performance with buffers
Signed-off-by:Jonathan <Jonathan@192.168.1.1>