QGIS API Documentation 3.41.0-Master (3440c17df1d)
Loading...
Searching...
No Matches
Functions
fromencodedcomponenthelper.cpp File Reference
#include "fromencodedcomponenthelper.h"
#include <QString>
Include dependency graph for fromencodedcomponenthelper.cpp:

Go to the source code of this file.

Functions

QString fromEncodedComponent_helper (const QByteArray &ba)
 

Function Documentation

◆ fromEncodedComponent_helper()

QString fromEncodedComponent_helper ( const QByteArray &  ba)

ba contains an 8-bit form of the component and it might be percent-encoded already. We can't use QString::fromUtf8 because it might contain non-UTF8 sequences. We can't use QByteArray::toPercentEncoding because it might already contain percent-encoded sequences. We can't use qt_urlRecode because it needs UTF-16 input.

This method is named qt_urlRecodeByteArray in Qt's internals

Definition at line 57 of file fromencodedcomponenthelper.cpp.