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>
This commit is contained in:
Friedemann Kleint 2014-09-23 13:32:40 +02:00
parent 48a4a67e8d
commit a1a678078e

View File

@ -2708,9 +2708,9 @@ void tst_QtJson::objectInitializerList()
void tst_QtJson::unicodeKeys() void tst_QtJson::unicodeKeys()
{ {
QByteArray json = "{" QByteArray json = "{"
"\"x\u2090_1\": \"hello_1\"," "\"x\\u2090_1\": \"hello_1\","
"\"y\u2090_2\": \"hello_2\"," "\"y\\u2090_2\": \"hello_2\","
"\"T\u2090_3\": \"hello_3\"," "\"T\\u2090_3\": \"hello_3\","
"\"xyz_4\": \"hello_4\"," "\"xyz_4\": \"hello_4\","
"\"abc_5\": \"hello_5\"" "\"abc_5\": \"hello_5\""
"}"; "}";