In QT 5.4 and C++ I try to decode a string that has unicode entities.
I have this QString:
QString string = \"file\\u00d6\\u00c7\\u015e\\u0130\\u011e
#include
QTextDocument doc;
QString string = "file\u00d6\u00c7\u015e\u0130\u011e\u00dc\u0130\u00e7\u00f6\u015fi\u011f\u00fc\u0131.txt";
doc.setHtml(string); // to convert entities to text
QString result = doc.toPlainText(); // result = "fileÖÇŞİĞÜİçöşiğüı.txt"
NOT USEFUL if you have a CONSOLE app QTextDocument needs the GUI module.