Bug 349689

Summary: digiKam cannot display images if directory name contains UTF8 characters (as e.g. 'ü')
Product: [Applications] digikam Reporter: Christian Hartmann <chris-hartmann>
Component: Albums-MainViewAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 4.10.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 4.12.0
Sentry Crash Report:

Description Christian Hartmann 2015-06-28 17:21:49 UTC
When you open a digikam album from a directory that contains an umlaut in its name the images are not shown, just some placeholders.

If you rename the folder (ü -> ue) the images are shown correctly.

It happens in album preview and if you open one single image.

Reproducible: Always

Steps to Reproduce:
1. Create a directory containing an umlaut in the name
2.
3.
Comment 1 caulier.gilles 2015-06-28 18:53:01 UTC
I tried under Linux and OSX, and this problem is not reproducible.

Perhaps there is a LOCALE settings adjustment to do in OS account ?

album name (or path) is recored in DB as UTF8 string. So typically, this must properly supported. In source code, we use QString which is fully UTF8 complaint.

Q : did you created a digiKam DB from scratch or used an older one through a digiKam update ?

Gilles Caulier
Comment 2 Christian Hartmann 2015-07-04 09:13:35 UTC
It had to do with my old digikam.db file. I've renamed it and started digikam and now all the images are shown.