Summary: | Can't create preview folders with unicode carater name. | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Yannick Roehlly <yannick.roehlly> |
Component: | Thumbs-Image | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | 0.9.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 0.9.0 | |
Sentry Crash Report: |
Description
Yannick Roehlly
2006-08-05 18:02:39 UTC
It does not work for PNM too. PS: The real title of the bug is "Can't create preview folders with unicode characters in the name." I can confirm this problem with locale de_DE.UTF-8. Tested with a PNG kde-icon. Could you guys please check my unicode related bug "Camera UI: renaming dialogue can't handle UTF-8 filenames" (http://bugs.kde.org/show_bug.cgi?id=131558) and provide some feedback there? Thanks in advance! Sero SVN commit 571843 by mwiesweg: Only use QFile::encodeName immediately for system calls. DImg takes a QString, give it a QString. Please test if this solves the UTF8 problems. CCBUGS: 131920 M +1 -1 digikamthumbnail.cpp --- trunk/extragear/graphics/digikam/kioslave/digikamthumbnail.cpp #571842:571843 @@ -622,7 +622,7 @@ bool kio_digikamthumbnailProtocol::loadDImg(QImage& image, const QString& path) { - Digikam::DImg dimg_im(QFile::encodeName(path)); + Digikam::DImg dimg_im(path); if (dimg_im.isNull()) { Le jeudi 10 août 2006 23:12, Marcel Wiesweg a écrit :
> Only use QFile::encodeName immediately for system calls.
> DImg takes a QString, give it a QString.
> Please test if this solves the UTF8 problems.
Hi Marceil,
That solve the problem here. Thanks.
Yannick
*** Bug has been marked as fixed ***. |