[X2Go-Dev] Patch to support Qt5 as well as Qt4
Mihai Moldovan
ionic at ionic.de
Fri Apr 1 18:25:04 CEST 2016
On 01.04.2016 10:45 AM, Nable wrote:
> 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.
Good point. toLocal8Bit() might carry out conversions, though, while toAscii()
is equivalent to toLatin1(), iff no conversion method was set. We never do the
latter, so within X2Go Client toAscii() should be functionally equivalent to
toLatin1().
Thus, to retain the old (potentially broken(!), as you pointed out) behavior for
now, toLatin1() sounds like the best option.
Mihai
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20160401/03f7bda7/attachment.pgp>
More information about the x2go-dev
mailing list