Juan Hernandez has uploaded a new change for review. Change subject: core: OVF writer should not depend on LANG setting ......................................................................
core: OVF writer should not depend on LANG setting The XML writer used to write OVF doesn't specify the character encoding when creating files. As a result the system selects the encoding according to the setting of the LANG variable. This will usually result in selecting UTF-8, but if it happens to be ASCII the StAX writer will fail and complain that the header of the XML document doesn't match the encoding of the string. This patch changes the XML writer so that it always uses the UTF-8 encoding, regardless of the LANG setting. Change-Id: I2d3f1693cb0f1c2490360350936a4bff09549e72 Signed-off-by: Juan Hernandez <[email protected]> --- M backend/manager/modules/compat/src/main/java/org/ovirt/engine/core/compat/backendcompat/XmlTextWriter.java 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/89/5289/1 -- To view, visit http://gerrit.ovirt.org/5289 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I2d3f1693cb0f1c2490360350936a4bff09549e72 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Juan Hernandez <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
