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

juan.hernandez at redhat.com juan.hernandez at redhat.com
Wed Aug 20 07:44:39 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>
(cherry picked from commit 80ed3042919b6cf4442cb5a8bae9117a934b56b8)
---
M src/cli/context.py
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/31691
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: cli_3.5
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list