qga: check utf8-to-utf16 conversion
commit8021de10131868a8857e64b91cf0a868b76a61d8
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 17 Feb 2016 16:47:55 +0000 (17 17:47 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 25 Feb 2016 15:48:52 +0000 (25 09:48 -0600)
tree2675a5ce0b061f6a18a1668d880b82bc360881dc
parent25d943b95703ae45567395db4156b25052ee54c4
qga: check utf8-to-utf16 conversion

UTF8 to UTF16 conversion can fail for genuine reasons, let's check errors.

Reported-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga/commands-win32.c