Skip to content

Commit

Permalink
in_tail: tests: Follow UTF-8 encoder changes for multi-byte characters
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Hatake <[email protected]>
  • Loading branch information
cosmo0920 committed Dec 13, 2024
1 parent 09e95bb commit e809963
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tests/runtime/data/tail/out/unicode_be_c.out
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"log":"在 Fluent Bit 中处理汉字,感觉像是在做梦😀。"}
{"log":"\ufeff\u5728 Fluent Bit \u4e2d\u5904\u7406\u6c49\u5b57\uff0c\u611f\u89c9\u50cf\u662f\u5728\u505a\u68a6\ud83d\ude00\u3002"}
2 changes: 1 addition & 1 deletion tests/runtime/data/tail/out/unicode_be_j.out
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"log":"にほんごテストログふぁいる。文字エンコーディングをUnicodeにできる!?☕😀⚪⚫🔴🔵🟠🟡🟢🟣🟤🇺🇸🇯🇵"}
{"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"}
2 changes: 1 addition & 1 deletion tests/runtime/data/tail/out/unicode_c.out
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"log":"用汉字在 Fluent Bit 中处理日志,就像是一个梦一样😀"}
{"log":"\ufeff\u7528\u6c49\u5b57\u5728 Fluent Bit \u4e2d\u5904\u7406\u65e5\u5fd7\uff0c\u5c31\u50cf\u662f\u4e00\u4e2a\u68a6\u4e00\u6837\ud83d\ude00"}
2 changes: 1 addition & 1 deletion tests/runtime/data/tail/out/unicode_j.out
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"log":"にほんごテストログふぁいる。文字エンコーディングをUnicodeにできる!?☕😀⚪⚫🔴🔵🟠🟡🟢🟣🟤🇺🇸🇯🇵"}
{"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"}
2 changes: 1 addition & 1 deletion tests/runtime/data/tail/out/unicode_subdivision_flags.out
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"log":"🏴󠁧󠁢󠁥󠁮󠁧󠁿🏴󠁧󠁢󠁳󠁣󠁴󠁿🏴󠁧󠁢󠁷󠁬󠁳󠁿"}
{"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"}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"log":"🏴󠁧󠁢󠁷󠁬󠁳󠁿🏴󠁧󠁢󠁳󠁣󠁴󠁿🏴󠁧󠁢󠁥󠁮󠁧󠁿"}
{"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"}

0 comments on commit e809963

Please sign in to comment.