qjson in ubuntu cannot deal with unicode characters correctly
Bug #903539 reported by
Xu Zhen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qjson (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I have the following codes:
QString data = QString:
QVariantMap obj = QVariantMap();
obj.insert("key", QVariant(data));
QJson::Serializer s;
QString json = s.serialize(obj);
qDebug() << json;
output with libqjson 0.7.1-6 in ubuntu's repository:
"{ "key" : "æ" }"
output with qjson in gitorious repository ( git clone git://gitorious
"{ "key" : "\u6211" }"
To post a comment you must log in.