Version: 2.0.1 (using KDE 4.2.0) OS: Linux Installed from: SuSE RPMs Under KDE 4.2.00 (KDE 4.2.0) "release 102", instruction: Amarok.Lyrics.fromUtf8(title, "GB12312"); crash amarok. You can test in a script or in in "Amarok Script Console". And yes, I know that correct encoding "GB2312", but I think that things go wrong if you misspelled a text and your application crash ;).
Please paste a valid crash backtrace here. Also, debug output (amarok --debug) could be helpful. For more information please see here: http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Created attachment 31689 [details] Amarok backtrace I install debug package form openSUSE repositories.
SVN commit 933806 by nhnielsen: Don't crash if using an invalid codec name in AmarokLyricsScript::toUtf8, AmarokLyricsScript::QStringtoUtf8 or AmarokLyricsScript::fromUtf8 but simply return an empty QString or QByteArray respectively. BUG: 185540 M +10 -0 AmarokLyricsScript.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=933806