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.
hhatake
02/13/2026, 12:42 PM
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.
hhatake
02/13/2026, 12:43 PM
For simplified chinese, you could use GBK or GB18030.
hhatake
02/13/2026, 12:43 PM
For traditional one, you can specify Big5 there.
p
Pat
02/13/2026, 1:23 PM
@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