Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#511 Local CDDB screwed by 1.70b4

open
nobody
Unicode (6)
5
2010-05-25
2010-05-25
GerdB
No

Recognized this when an Album was unknown to freedb: After I entered Album info, the disc was still unrecognized on subsequent reads. So I took a look at the local CDDB files and found something that seemingly is supposed to be Unicode Text but looks to have some interspersed single-byte characters. Unfortunately, 1.70b4 itself fails to read this mess. Workaround: Write local CDDB using 1.51 and 1.70b4 will happily read it, too.

Discussion

  • GerdB
    GerdB
    2010-05-25

    Addition: Could it be that CDDB writing is bitten by the fact that sizeof(TCHAR) != sizeof(BYTE) when using Unicode? Write(szBuf, strlen(szBuf)) has to become Write(szBuf, strlen(szBuf) * sizeof(TCHAR)).