Fix MSVC source code encoding warnings in tst_qtjson.
tst_qtjson.cpp(2711) : warning C4566: character represented by universal-character-name '\u2090' cannot be represented in the current code page (1252) tst_qtjson.cpp(2712) : warning C4566: character represented by universal-character-name '\u2090' cannot be represented in the current code page (1252) tst_qtjson.cpp(2713) : warning C4566: character represented by universal-character-name '\u2090' cannot be represented in the current code page (1252) Task-number: QTBUG-41100 Change-Id: I193dc48236bdd3857657a5684178630f0e1dab6d Reviewed-by: Lars Knoll <lars.knoll@digia.com>bb10
parent
48a4a67e8d
commit
a1a678078e
|
|
@ -2708,9 +2708,9 @@ void tst_QtJson::objectInitializerList()
|
|||
void tst_QtJson::unicodeKeys()
|
||||
{
|
||||
QByteArray json = "{"
|
||||
"\"x\u2090_1\": \"hello_1\","
|
||||
"\"y\u2090_2\": \"hello_2\","
|
||||
"\"T\u2090_3\": \"hello_3\","
|
||||
"\"x\\u2090_1\": \"hello_1\","
|
||||
"\"y\\u2090_2\": \"hello_2\","
|
||||
"\"T\\u2090_3\": \"hello_3\","
|
||||
"\"xyz_4\": \"hello_4\","
|
||||
"\"abc_5\": \"hello_5\""
|
||||
"}";
|
||||
|
|
|
|||
Loading…
Reference in New Issue