From a1a678078efc2b5c3d5430946acda7f8ceca1977 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Tue, 23 Sep 2014 13:32:40 +0200 Subject: 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 --- tests/auto/corelib/json/tst_qtjson.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/auto/corelib/json/tst_qtjson.cpp b/tests/auto/corelib/json/tst_qtjson.cpp index ce272cde03..4f73e93177 100644 --- a/tests/auto/corelib/json/tst_qtjson.cpp +++ b/tests/auto/corelib/json/tst_qtjson.cpp @@ -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\"" "}"; -- cgit v1.2.3