forest icon indicating copy to clipboard operation
forest copied to clipboard

自动检测编码格式有bug

Open Laverrr opened this issue 2 years ago • 0 comments

ByteEncodeUtils#getCharsetName,下面这个byte数组检测出来的charset是IBM866。实际上应该是UTF-8

[123, 34, 114, 101, 115, 117, 108, 116, 34, 58, 123, 34, 116, 101, 120, 116, 34, 58, 34, -27, -94, -88, -23, -69, -111, 34, 125, 125]

Laverrr avatar Feb 10 '23 09:02 Laverrr