From 7810fb9ce4b7d3fa3202fc9faaf7e3ee37e1550e Mon Sep 17 00:00:00 2001 From: rw Date: Wed, 20 May 2015 13:42:51 -0700 Subject: [PATCH] use escape codes here for non-unicode editors --- tests/go_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/go_test.go b/tests/go_test.go index e3fd51721..143c7d618 100644 --- a/tests/go_test.go +++ b/tests/go_test.go @@ -536,7 +536,7 @@ func CheckByteLayout(fail func(string, ...interface{})) { // test 6b: CreateString unicode b = flatbuffers.NewBuilder(0) - b.CreateString("日本語") + b.CreateString("\u65e5\u672c\u8a9e") // chinese from blog.golang.org/strings check([]byte{9, 0, 0, 0, 230, 151, 165, 230, 156, 172, 232, 170, 158, 0, // null-terminated, 2-byte pad 0, 0})