It depends on your collecting files' encodings. Th...
# fluent-bit
h
It depends on your collecting files' encodings. Thus is because unicode.encoding is for UTF-16BE/LE parameter. So, you need to specify generic.encoding instead.
This can handle: Set the non-Unicode encoding of the file data. Supported values: ShiftJIS, UHC, GBK, GB18030, Big5, Win866, Win874, Win1250, Win1251, Win1252, Win1253, Win1254, Win1255, and Win1256.
For simplified chinese, you could use GBK or GB18030.
For traditional one, you can specify Big5 there.
p
@hhatake maybe we can put an example in the docs if we don't have one, @Sunil Sylvester this would be a great PR to contribute when you get it working to help others with the use case