http://bugs.winehq.org/show_bug.cgi?id=29355
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com 2012-01-06 08:56:17 CST --- This was intentional as I remember, the reason is that we didn't want to depend on XML_SAVE_NO_DECL flag being supported so I switched off both declarations - one from fake node and one from libxml2 in case it is supported.
There's a problem that can't be solved actually - with msxml it's possible to manually add declaration node with DOM methods and set desired encoding as attribute, so output encoding is determined by it. This is not handled at all as I remember.
What we need it a document saving rewrite that doesn't depend on libxml2 features and fixes some not-well specified cases or MS historical things like double char line endings for example.
This is still a valid bug obviously, that should be fixed.