superg / redumper

Low level CD dumper utility
GNU General Public License v3.0
200 stars 18 forks source link

CD-TEXT encoding #39

Open superg opened 1 year ago

superg commented 1 year ago

There is no good way to know which encoding was used to create CD-TEXT. Sometimes unicode flag is set and it's Shift-JIS, other times it's UTF-16. Mostly JP problem but the aim is to support everything. Always applying UTF-16 doesn't work as exception is thrown for invalid character sequences.

Find a way to handle it.

fuzz6001 commented 1 year ago

This is an out-of-specification example related to this issue.

A single-byte character is used even though the double-byte character flag is set. logs

cdtext