We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Atm QJSON returns error for UTF with BOM encoded strings. QJsonDocument from Qt5 can handle with it. Qt5 has internal function
void Parser::eatBOM()
{ // eat UTF-8 byte order mark uchar utf8bom[3] = { 0xef, 0xbb, 0xbf }; if (end - json > 3 && (uchar)json[0] == utf8bom[0] && (uchar)json[1] == utf8bom[1] && (uchar)json[2] == utf8bom[2]) json += 3; }
So JSON is good for Qt5 can be bad for QJSON.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Atm QJSON returns error for UTF with BOM encoded strings. QJsonDocument from Qt5 can handle with it. Qt5 has internal function
void Parser::eatBOM()
So JSON is good for Qt5 can be bad for QJSON.
The text was updated successfully, but these errors were encountered: