From e809963c814fafcd1458ccb645a31d492c976ae7 Mon Sep 17 00:00:00 2001 From: Hiroshi Hatake Date: Fri, 13 Dec 2024 14:17:45 +0900 Subject: [PATCH] in_tail: tests: Follow UTF-8 encoder changes for multi-byte characters Signed-off-by: Hiroshi Hatake --- tests/runtime/data/tail/out/unicode_be_c.out | 2 +- tests/runtime/data/tail/out/unicode_be_j.out | 2 +- tests/runtime/data/tail/out/unicode_c.out | 2 +- tests/runtime/data/tail/out/unicode_j.out | 2 +- tests/runtime/data/tail/out/unicode_subdivision_flags.out | 2 +- tests/runtime/data/tail/out/unicode_subdivision_flags_be.out | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/runtime/data/tail/out/unicode_be_c.out b/tests/runtime/data/tail/out/unicode_be_c.out index 69782681368..7fe257c6b20 100644 --- a/tests/runtime/data/tail/out/unicode_be_c.out +++ b/tests/runtime/data/tail/out/unicode_be_c.out @@ -1 +1 @@ -{"log":"在 Fluent Bit 中处理汉字,感觉像是在做梦😀。"} \ No newline at end of file +{"log":"\ufeff\u5728 Fluent Bit \u4e2d\u5904\u7406\u6c49\u5b57\uff0c\u611f\u89c9\u50cf\u662f\u5728\u505a\u68a6\ud83d\ude00\u3002"} \ No newline at end of file diff --git a/tests/runtime/data/tail/out/unicode_be_j.out b/tests/runtime/data/tail/out/unicode_be_j.out index 0fd33e83e21..4ab08adef11 100644 --- a/tests/runtime/data/tail/out/unicode_be_j.out +++ b/tests/runtime/data/tail/out/unicode_be_j.out @@ -1 +1 @@ -{"log":"にほんごテストログふぁいる。文字エンコーディングをUnicodeにできる!?☕😀⚪⚫🔴🔵🟠🟡🟢🟣🟤🇺🇸🇯🇵"} \ No newline at end of file +{"log":"\ufeff\u306b\u307b\u3093\u3054\u30c6\u30b9\u30c8\u30ed\u30b0\u3075\u3041\u3044\u308b\u3002\u6587\u5b57\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3092Unicode\u306b\u3067\u304d\u308b\uff01\uff1f\u2615\ud83d\ude00\u26aa\u26ab\ud83d\udd34\ud83d\udd35\ud83d\udfe0\ud83d\udfe1\ud83d\udfe2\ud83d\udfe3\ud83d\udfe4\ud83c\uddfa\ud83c\uddf8\ud83c\uddef\ud83c\uddf5"} \ No newline at end of file diff --git a/tests/runtime/data/tail/out/unicode_c.out b/tests/runtime/data/tail/out/unicode_c.out index d0c1f9af74b..d42eb55c403 100644 --- a/tests/runtime/data/tail/out/unicode_c.out +++ b/tests/runtime/data/tail/out/unicode_c.out @@ -1 +1 @@ -{"log":"用汉字在 Fluent Bit 中处理日志,就像是一个梦一样😀"} \ No newline at end of file +{"log":"\ufeff\u7528\u6c49\u5b57\u5728 Fluent Bit \u4e2d\u5904\u7406\u65e5\u5fd7\uff0c\u5c31\u50cf\u662f\u4e00\u4e2a\u68a6\u4e00\u6837\ud83d\ude00"} \ No newline at end of file diff --git a/tests/runtime/data/tail/out/unicode_j.out b/tests/runtime/data/tail/out/unicode_j.out index 0fd33e83e21..4ab08adef11 100644 --- a/tests/runtime/data/tail/out/unicode_j.out +++ b/tests/runtime/data/tail/out/unicode_j.out @@ -1 +1 @@ -{"log":"にほんごテストログふぁいる。文字エンコーディングをUnicodeにできる!?☕😀⚪⚫🔴🔵🟠🟡🟢🟣🟤🇺🇸🇯🇵"} \ No newline at end of file +{"log":"\ufeff\u306b\u307b\u3093\u3054\u30c6\u30b9\u30c8\u30ed\u30b0\u3075\u3041\u3044\u308b\u3002\u6587\u5b57\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3092Unicode\u306b\u3067\u304d\u308b\uff01\uff1f\u2615\ud83d\ude00\u26aa\u26ab\ud83d\udd34\ud83d\udd35\ud83d\udfe0\ud83d\udfe1\ud83d\udfe2\ud83d\udfe3\ud83d\udfe4\ud83c\uddfa\ud83c\uddf8\ud83c\uddef\ud83c\uddf5"} \ No newline at end of file diff --git a/tests/runtime/data/tail/out/unicode_subdivision_flags.out b/tests/runtime/data/tail/out/unicode_subdivision_flags.out index 5f7632d5471..9fb70818704 100644 --- a/tests/runtime/data/tail/out/unicode_subdivision_flags.out +++ b/tests/runtime/data/tail/out/unicode_subdivision_flags.out @@ -1 +1 @@ -{"log":"🏴󠁧󠁢󠁥󠁮󠁧󠁿🏴󠁧󠁢󠁳󠁣󠁴󠁿🏴󠁧󠁢󠁷󠁬󠁳󠁿"} \ No newline at end of file +{"log":"\ufeff\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc73\udb40\udc63\udb40\udc74\udb40\udc7f\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc77\udb40\udc6c\udb40\udc73\udb40\udc7f"} \ No newline at end of file diff --git a/tests/runtime/data/tail/out/unicode_subdivision_flags_be.out b/tests/runtime/data/tail/out/unicode_subdivision_flags_be.out index e69ab12b9b4..8a40c5cccf8 100644 --- a/tests/runtime/data/tail/out/unicode_subdivision_flags_be.out +++ b/tests/runtime/data/tail/out/unicode_subdivision_flags_be.out @@ -1 +1 @@ -{"log":"🏴󠁧󠁢󠁷󠁬󠁳󠁿🏴󠁧󠁢󠁳󠁣󠁴󠁿🏴󠁧󠁢󠁥󠁮󠁧󠁿"} \ No newline at end of file +{"log":"\ufeff\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc77\udb40\udc6c\udb40\udc73\udb40\udc7f\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc73\udb40\udc63\udb40\udc74\udb40\udc7f\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f"} \ No newline at end of file