[Interest] Unescape hex escaped values in a QString
Christian Ehrlicher
Ch.Ehrlicher at gmx.de
Sun Oct 22 12:48:12 CEST 2017
Hi,
Is there a Qt-way to decode hex escaped values in a QString? In bug
61420 the udev filename in /dev/disk/by-label/ is encoded with
ID_FS_LABEL_ENC which means all non-latin1 characters are hex-escaped.
But since QFileInfo::fileName() already returns a QString I can't use
QString::fromUtf8() to do an 'automatic' conversion...
Thx,
Christian
More information about the Interest
mailing list