Summary: | RAW file import lacks I18N support, no decoding | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Gerhard Kulzer <gerhard> |
Component: | Usability-i18n | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gerhard |
Priority: | NOR | ||
Version: | 0.10.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 7.5.0 | |
Sentry Crash Report: |
Description
Gerhard Kulzer
2008-08-25 12:51:46 UTC
SOund like a problem in libkdcraw, especially KDcraw::startProcess() in line 910 : args << QFile::encodeName(d->filePath); Normally QFile::encodeName() must prevent this encoding problem: http://doc.trolltech.com/4.4/qfile.html#encodeName Perhaps there is a problem with UTF8 encoding here Gilles Caulier Gilles, since the encodeName produces a local8bit path, shouldn't the process call in line 918 take that into account: instead of fromAscii: fromLocal8Bit(DcrawBinary::path()), args); I tried it, but no success, same error message! Interesting reading is here: http://www.mail-archive.com/dvbcut-user@lists.sourceforge.net/msg00638.html I have tested this problem with current libkdcraw (based on libraw), and it worked nicely for me (folder and file name contained äöü éß) One issue is that the libkdcraw version from KDE4.1 will no longer be used by digikam 0.10 and probably not updated any more, so you could test the version from trunk that is required for current svn digikam 0.10. Gilles pointed out the libraw will still use QFile::encodeName if that is the culprit. I cannot test anymore with your version of libkdcraw because digikam wont work with it anymore - but we used dcraw for a long time on KDE3 without any problems, which might indicate a problem specific to your system. Früher instead of Früher indicates that a UTF-8 code (two bytes for extended character) is interpreted as ASCII (two separate bytes). Same here. I have used non ascii characters with RAW path files, and it's work fine here. I follow Marcel analyze here : for obscure reasons, this bug only touch libkdcraw based on dcraw and KProcess, not last version of libkdcraw based on libraw. This can be a weird issue with KProcess/QProcess. So, I close this file now. Feel free to re-open if needs. Gilles Caulier Fixed with works from bug #438701 for next 7.5.0 release Gilles Caulier |