SIGN IN SIGN UP

Consider output encoding in XMLGenerator. Fixes #938076.

Backported to 2.3.
M
Martin v. Löwis committed
ae20722d9619f0e2128d5e23f68c3d64db961bfd
Parent: 0ea558f