Bug 142337 - tags form freedb have broken codepage
Summary: tags form freedb have broken codepage
Status: CONFIRMED
Alias: None
Product: AudioCD-KIO
Classification: Applications
Component: General (other bugs)
Version First Reported In: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-28 19:06 UTC by Ben Aceler
Modified: 2018-11-20 16:13 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshot with a broken codepage (90.80 KB, image/png)
2007-08-10 19:49 UTC, Ben Aceler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Aceler 2007-02-28 19:06:34 UTC
Version:            (using KDE KDE 3.5.6KDE 1.2)
Installed from:    0Unspecified

When opening audiocd:/ kioslave, konqueror tries to obtain track names from freedb. These names are always in a wrong codepage for Russian - the transformation is like cp2151->iso-8859-1

So, the track names are not readable.
Comment 1 shattered 2007-07-29 15:11:54 UTC
Give us an example, please.  freedb can have many entries for single disc.
Comment 2 Ben Aceler 2007-08-02 07:52:25 UTC
Em.. But how?
Comment 3 shattered 2007-08-02 13:40:43 UTC
A screenshot, perhaps?
Comment 4 Ben Aceler 2007-08-02 14:00:29 UTC
OK, but...

My notebook fails this morning. Screenshots will be next week.
Comment 5 Ben Aceler 2007-08-10 19:49:01 UTC
Created attachment 21366 [details]
Screenshot with a broken codepage
Comment 6 shattered 2007-08-10 20:51:38 UTC
What is the freedb disc id for this CD?
Comment 7 Ben Aceler 2007-08-10 21:01:27 UTC
e20fff10
Comment 8 shattered 2007-08-11 11:06:33 UTC
audiocd:/ ioslave uses libkcddb, which talks to freedb servers using protocol level 6 and thus gets CDDB entries in UTF-8.  If original CDDB entry was not submitted by UTF-8 aware client, it is converted from whatever encoding CDDB server is using as a default (Latin-1, apparently).  See:

http://freedb.freedb.org/~cddb/cddb.cgi?cmd=cddb+read+rock+e20fff10&hello=user+foobar2000.org+foobar2000+v0.9_beta_6&proto=6
Comment 9 Ben Aceler 2007-08-11 11:54:51 UTC
Yes, and if you'll use level 5 or lesser, it will return entry in CP1251 (for this disc).

How this can help?
Comment 10 shattered 2007-08-13 07:51:43 UTC
I'm not sure there is a perfect client-side solution.  For best effect, freedb should fix their database.  

One could use a proxy server (libkcddb uses http) to detect and fix encoding ...
Comment 11 Edward Hades 2008-07-22 21:43:59 UTC
Perhaps larkang's approach (see r436465) may be applied to libkccd default behavior?