atldotnet icon indicating copy to clipboard operation
atldotnet copied to clipboard

Unable to recognize encoded Chinese text CUE file

Open melinyi opened this issue 2 years ago • 4 comments

Hi, I came again, I found a CUE file that could not identify the code, but I set system.text.gb18030 system.text.gb2312 and other Chinese codes can be recognized normally.

melinyi avatar May 21 '22 15:05 melinyi

{ "Path": "C:\Users\Line\Desktop\歌声伴随你 - 第24集.cue", "Artist": "����������", "Comments": "DISCID DD0CEC0F˵COMMENT "ExactAudioCopy v1.0b2"", "Title": "��24��", "Tracks": [ { "Path": null, "Title": "�������01", "Artist": "����������", "Composer": null, "Comment": "", "Genre": "", "Album": "��24��",

melinyi avatar May 21 '22 15:05 melinyi

I have uploaded the file

melinyi avatar May 21 '22 15:05 melinyi

This code can correctly identify the code

https://github.com/melinyi/PlayListGenerateLib-Shared/blob/main/TextEncoding.cs

image

image

melinyi avatar May 21 '22 15:05 melinyi

I've just seen the issue you've opened here : https://github.com/CharsetDetector/UTF-unknown/issues/143

Let's wait to see if they can fix it. If they can, I'm gonna use UTF-unknown instead of plain UDE.

Zeugma440 avatar May 22 '22 10:05 Zeugma440