Version: (using KDE 4.3.1) OS: Linux Installed from: Fedora RPMs How reproducible: create a image gallery with a comment file. The comment file has to contain umlauts like ö,ü,ä Steps to Reproduce: 1. create a comment file which contains ä ö ü 2. create a image gallery with this comment file Actual results: In the generated html file instead of ä ö ü i see ä ö ü Expected results: it should show me ä ö ü
Actually, this doesn't have anything to do with Ark. What program were you running and what steps did you take to create that gallery?
Sorry, accidently i assigned it to ark. I ran konqueror. Above i wrote the steps how to create the gallery. Important is only the comments option. Every other adjustment on how to create the gallery doesn´t matter.
Thanks for the information. I'm finally reassigning it to the appropriate product and component.
Hey Guys, any updates on this? This issue still exists in KDE 4.4.5
This one liner patch fixes this bug for me: diff --git a/konq-plugins/kimgalleryplugin/imgalleryplugin.cpp b/konq-plugins/kimgalleryplugin/imgalleryplugin.cpp index fa80eb3..2ce0a1b 100644 --- a/konq-plugins/kimgalleryplugin/imgalleryplugin.cpp +++ b/konq-plugins/kimgalleryplugin/imgalleryplugin.cpp @@ -238,7 +238,7 @@ void KImGalleryPlugin::createBody(QTextStream& stream, const QString& sourceDirN } if (m_useCommentFile) { - QString imgComment = (*m_commentMap)[imgName].toLocal8Bit(); + QString imgComment = (*m_commentMap)[imgName].toLatin1(); stream << "<div>" << Qt::escape(imgComment) << "</div>" << endl; } stream << "</td>" << endl;
Hmm, it looks like the code was similar to that 9 years ago when r143851 changed it so that local8Bit() was used instead of latin1(). I think your patch can safely go in without .toLatin1(), just use (*m_commentMap)[imgName]. Please remove the toLocal8Bit() calls in loadCommentFile() too.
Git commit f5a4f96df01ddcf32fdc0be01d557e85d66bfca3 by Burkhard Lück. Committed on 12/06/2011 at 22:01. Pushed by lueck into branch 'KDE/4.6'. use proper encoding to allow umlauts (äöü etc) in comments file, approved by rkcosta BUG:209426 M +2 -2 konq-plugins/kimgalleryplugin/imgalleryplugin.cpp http://commits.kde.org/kde-baseapps/f5a4f96df01ddcf32fdc0be01d557e85d66bfca3
SVN commit 1236355 by rkcosta: Start the 4.6.5 changelog mentioning bug 209426. CCBUG: 209426 M +8 -0 changelog_branch_4_6.xml WebSVN link: http://websvn.kde.org/?view=rev&revision=1236355