client/common: Fix RDP file processing on big endian
authorOndrej Holy <oholy@redhat.com>
Thu, 23 Nov 2017 17:22:48 +0000 (18:22 +0100)
committerOndrej Holy <oholy@redhat.com>
Thu, 23 Nov 2017 19:00:09 +0000 (20:00 +0100)
commit5dcd1ebb06ebc7bda75b1be0c34f121a7c88482d
treec0b0011bd833421ea0fc8bcd6a54b3d62c2dee41
parentcbb8650b3d3cceac274efeb8a776d971c37a818a
client/common: Fix RDP file processing on big endian

TestClientRdpFile fails on big endian machines due to some bug in
unicode processing. Let's drop all the unicode functions and convert
unicode input into ascii as soon as possible. This significantly
simplify RDP file processing and also fixes TestClientRdpFile on
big endian machines.

https://github.com/FreeRDP/FreeRDP/issues/4231
client/common/file.c