[X2Go-Dev] Patch to support Qt5 as well as Qt4

Nable nable.maininbox at googlemail.com
Fri Apr 1 10:45:44 CEST 2016


Hi,

On 4/1/16, Mihai Moldovan <ionic at ionic.de> wrote:
> [...]
> been replaced by QString::toUtf8 (). Personally, I like the idea of porting
> things to UTF-8, but fear side-effects in terms of passing UTF-8-encoded
> strings to other interfaces that actually expect ASCII (or really a plain 8bit
> encoding.)
>
> Hence, I'd like to modify all these occurrences with QString::toLatin1 ()
> for now.

QString::toLocal8Bit() may be more suitable in some places. At least,
it doesn't break access to files with non-ASCII names as QString::toLatin1() do.


More information about the x2go-dev mailing list