replaced XML attributes container by explicit initialization of character set encoding