tags: Some mojibake happens when chars encoded with local charset are saved with ISO-8895-1 in an id3v2 text frame.
Submitted by Lance Wang
Link to original bug (#688367)
Description
Created attachment 229025
try more to guess charset
I have a mp3 file with GBK chars saved with ISO-8895-1 in an id3v2 text frame.
I know currently gstreamer is trying to guess the original charset according the current locale.
However there is a problem that if you locale is *.UTF-8, gstreamer regards that the possible charset is just UTF-8. I think it can do more to guess the possible charset with the prefix in *.UTF-8.
It might be that for example if current locale is zh_CN.UTF-8, gstreamer could try zh_CN.GBK, zh_CN.GB2312 to guess the oirginal charset.
And I make a patch about this.
Patch 229025, "try more to guess charset":
gst-plugins-base-try-more-to-get-charset.patch