Project

General

Profile

Support #787

CD-Text in Japanese is displayed as gibberish

Added by Net Helin over 1 year ago. Updated over 1 year ago.

Status:
Rejected
Priority:
Minor
Assignee:
-
Category:
plugins/cdaudio
Target version:
-
Start date:
April 10, 2018
Due date:
% Done:

0%

Estimated time:
Affects version:

Description

CD-Text from some Japanese CDs is displayed as gibberish. It seems to be encoded in MS-JIS. It should be possible to read CD-Text using this character encoding so it's displayed correctly.

Audacious CD-Text.png (99.4 KB) Audacious CD-Text.png screenshot Net Helin, April 26, 2018 12:18
audacious-gdb.txt (2.75 KB) audacious-gdb.txt debugging output Net Helin, April 28, 2018 06:08

History

#1 Updated by John Lindgren over 1 year ago

Under File -> Settings -> Advanced -> Compatibility, have you tried setting "Auto character encoding detector" to Japanese?

Or have you tried prepending "MS-JIS" to the list of fallback character encodings?

#2 Updated by John Lindgren over 1 year ago

  • Tracker changed from Bug to Support

#3 Updated by Net Helin over 1 year ago

I've tried changing the detector to Japanese and entering various fallback encodings (like MS932 and SHIFT-JIS; MS-JIS doesn't seem to be an actual encoding name), and then re-adding the CD. It seems these settings don't affect CD-Text decoding at all.

#4 Updated by John Lindgren over 1 year ago

Can you extract one of those titles and post it here in hex? (The exact bytes that are on the disk, not what is displayed in the GUI.)

One way to do this would be to run in a debugger and stop at the following line:
https://github.com/audacious-media-player/audacious-plugins/blob/f0949b25d120f9ef40bcb31c98b95d85e7927342/src/cdaudio/cdaudio-ng.cc#L589

#5 Updated by Net Helin over 1 year ago

Hmm, not sure if it's useful. I think it's already converted at that point.

#6 Updated by John Lindgren over 1 year ago

Audacious hasn't done any conversion of the strings at that point; they are byte-for-byte what is returned by cdtext_get_const() (part of GNU libcdio). So either libcdio is doing some kind of conversion, or the software that burned the disk got it wrong.

Have you been able to read the CD-Text for this disk successfully with any other player? Can you copy and paste a few of those same strings in Unicode as they ought to be rendered?

#7 Updated by John Lindgren over 1 year ago

  • Status changed from New to Rejected

We don't really have enough info to solve this. Closing.

Also available in: Atom PDF