Summary: | amarok bad encoding for ru_RU.utf8 radio stream tags | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Phonon | Reporter: | Kostya Sha <gentoo.integer> |
Component: | Xine backend | Assignee: | Matthias Kretz <kretz> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | azamat.hackimov, coda, martin.sandsmark, peterzhoulei, savsem, verdrehung |
Priority: | NOR | ||
Version: | 4.4.2 (KDE 4.5) | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Right encoding in qmmp & wrong in amarok
phonon-xine-4.4.4_disable-utf8-check.patch |
Description
Kostya Sha
2009-10-27 20:09:50 UTC
Created attachment 37925 [details]
Right encoding in qmmp & wrong in amarok
According this http://ru.wikipedia.org/wiki/Кракозябры amarok interprets utf8 like windows-1252 (==latin1? or iso8859-1?). reproduced for 2.2.1 Try rescanning and use the encoding detection in the option, that should fix the issue. Radio has no relation to the collection. Sorry, didn't really pay attention to that :( But Amarok doesn't use anything else than the system settings, so if your settings are utf-8 systemwide that's what it uses. It is possible that the metadata sent by the stream is not correctly encoded. I subscribe Bart for that. Sorry, but I don't know anything about character encodings and much less about the specifics of radio stream. As far as I can tell they are nothing like podcasts feeds. xine-ui shows properly encoded. Changing status. *** This bug has been confirmed by popular vote. *** Setting correct version I believe these two bugs are related. https://bugs.kde.org/show_bug.cgi?id=217228 (In reply to comment #12) > I believe these two bugs are related. > https://bugs.kde.org/show_bug.cgi?id=217228 related maybe, but not a duplicate. This here is a phonon bug, reassiging Is this still valid with KDE SC 4.4.2/Phonon 4.4.0? Yes. [I] kde-base/phonon-kde Available versions: (4.3) 4.3.3 4.3.5 (4.4) (~)4.4.1 (~)4.4.2 {alsa aqua debug kdeenablefinal kdeprefix pulseaudio +xine} Installed versions: 4.4.2(4.4)(14:35:24 04.04.2010)(alsa xine -aqua -debug -kdeenablefinal -kdeprefix) Homepage: http://phonon.kde.org Description: Phonon KDE Integration [I] media-sound/phonon Available versions: 4.3.1 4.3.50_pre20090520 4.3.80-r1 (~)4.4.0 {alsa aqua debug gstreamer pulseaudio +xcb +xine} Installed versions: 4.4.0(12:42:50 04.04.2010)(alsa gstreamer xcb xine -aqua -debug -pulseaudio) Homepage: http://phonon.kde.org Description: KDE multimedia API Thank you for the feedback. Any news? ;D Waiting fix since first amarok2 and kde4 appeared :( *** Bug 227909 has been marked as a duplicate of this bug. *** Same there. Amarok 2.4.0 still affected :(. Created attachment 58185 [details]
phonon-xine-4.4.4_disable-utf8-check.patch
I disabled Unicode check in code, and now cyrillic letter displays correctly (for ogg-stream). Maybe xine already sends metadata in Unicode or isUtf8 function incorrect detects cyrillic letters, I don't know.
Here my quick dirty hack to workaround this bug.
Please note, that another encodings in stream (CP1251 for example) is still not detected correctly, but this different problem.
*** Bug 269399 has been marked as a duplicate of this bug. *** Please use another backend, the xine backend is deprecated as the upstream development is stalled. You can choose between the gstreamer backend or the vlc backend, both are actively developed and maintained. |