Change in ovirt-engine-cli[master]: cli: Use UTF-8 for writing output files

juan.hernandez at redhat.com juan.hernandez at redhat.com
Wed Aug 20 07:43:49 UTC 2014


Juan Hernandez has submitted this change and it was merged.

Change subject: cli: Use UTF-8 for writing output files
......................................................................


cli: Use UTF-8 for writing output files

Currently when the CLI opens an output file due to a redirection it
opens it using the ASCII character encoding. If the text written to the
file contains characters outside of the ASCII set an exception is
generated. This patch changes the CLI so that it uses UTF-8 when writing
these files.

Change-Id: Ibe4eae82d3360c678cba133106e4a30ab930ca3b
Bug-Url: https://bugzilla.redhat.com/1126763
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M src/cli/context.py
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Ravi Nori: Looks good to me, but someone else must approve
  Juan Hernandez: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/31661
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibe4eae82d3360c678cba133106e4a30ab930ca3b
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-cli
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list