encoding of document is taken from
SP_ENCODING variable
value XML enables autodetection of encoding
for Windows based encodings Jade uses different identifier than
IANA (windows instead of windows-125x)
autodetection can be used only if your documents are in
ISO-8859-x, UTF-8 or in several other encodings