Open Aoi-hosizora opened 3 years ago
newRecognizer_8859_2_xx
newRecognizer_8859_2(xx)
ISO-8859-2
newRecognizer_8859_1(xx)
ISO-8859-1
https://github.com/saintfish/chardet/blob/3af4cd4741ca4f3eb0c407c034571a6fb0ea529c/single_byte.go#L325-L336
GB18030
https://github.com/saintfish/chardet/blob/3af4cd4741ca4f3eb0c407c034571a6fb0ea529c/multi_byte.go#L340
ISO-2022-XX
ja
ko
cn
https://github.com/saintfish/chardet/blob/3af4cd4741ca4f3eb0c407c034571a6fb0ea529c/2022.go#L83-L101
newRecognizer_8859_2_xx
function should returnnewRecognizer_8859_2(xx)
which usesISO-8859-2
rather thannewRecognizer_8859_1(xx)
which usesISO-8859-1
.https://github.com/saintfish/chardet/blob/3af4cd4741ca4f3eb0c407c034571a6fb0ea529c/single_byte.go#L325-L336
GB18030
should beGB18030
.https://github.com/saintfish/chardet/blob/3af4cd4741ca4f3eb0c407c034571a6fb0ea529c/multi_byte.go#L340
ISO-2022-XX
charsets language should beja
,ko
andcn
https://github.com/saintfish/chardet/blob/3af4cd4741ca4f3eb0c407c034571a6fb0ea529c/2022.go#L83-L101