From 4a541f7ba5306f9ebcc7f0fe2eeb663d3f527070 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 17 Dec 2018 10:03:18 -0800 Subject: Bu::Json handles encoding control chars. It still needs to handle the rest of unicode properly. It'll require a minor change but shouldn't be too bad overall. --- src/tests/json.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests') diff --git a/src/tests/json.cpp b/src/tests/json.cpp index d588a02..6490d8d 100644 --- a/src/tests/json.cpp +++ b/src/tests/json.cpp @@ -5,7 +5,7 @@ int main( int argc, char *argv[] ) { - Bu::Json j("Hi there"); + Bu::Json j( "\x01" "ACTION" "\x01" ); Bu::println( j.toString() ); return 0; } -- cgit v1.2.3