(WindowImp::Parser::Parser): Set the document character set at first so it can be used while parsing, and not after parsed