Bug 427964

Summary: International characters are replaced with question mark diamond icons
Product: [Applications] digikam Reporter: Kristjan Ulfsson <kristjan.ulfsson>
Component: Tags-ManagerAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 7.1.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In: 8.1.0
Sentry Crash Report:
Attachments: Shows a part of my tags with the question mark diamonds.

Description Kristjan Ulfsson 2020-10-19 08:47:15 UTC
Created attachment 132551 [details]
Shows a part of my tags with the question mark diamonds.

SUMMARY
When entering Icelandic characters, the characters are replaced with "question mark diamonds"

STEPS TO REPRODUCE
1. Enter foreign characters in Tag
2. Observe them later to have changed


OBSERVED RESULT

It is not clear to me when this happened. At first things seem fine and I have tagged hundreds of pictures. Then after an upgrade from 7.0.0 RC to 7.1.0 I noticed the behaviour mentioned. It is possible the tags had changed before upgrade, but I did not check.


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 caulier.gilles 2020-10-19 09:00:03 UTC
Do you use AppImage bundle for Linux ?

Gilles Caulier
Comment 2 Maik Qualmann 2020-10-19 11:04:45 UTC
The font for the tree views can be configured in the digiKam settings under View. Possibly a font selected that does not represent the characters?

Maik
Comment 3 Kristjan Ulfsson 2020-10-19 11:57:07 UTC
(In reply to caulier.gilles from comment #1)
> Do you use AppImage bundle for Linux ?
> 
> Gilles Caulier

I have DigiKam installed in Windows 10, so no Linux involved (visually).
Comment 4 Kristjan Ulfsson 2020-10-19 11:59:10 UTC
(In reply to Maik Qualmann from comment #2)
> The font for the tree views can be configured in the digiKam settings under
> View. Possibly a font selected that does not represent the characters?
> 
> Maik

Thank you for the suggestion, but that did not change it. Default is system font. I tried with known "good fonts", Arial and Calibri, but it did not solve it.
Comment 5 caulier.gilles 2020-10-19 12:11:24 UTC
Perhaps you use a wrong locale on Windows host settings ?
Comment 6 caulier.gilles 2020-10-19 12:12:30 UTC
But how did you created these tags ? directly with tag manager or you import tags from image files metadata ?
Comment 7 Kristjan Ulfsson 2020-10-20 23:00:03 UTC
(In reply to caulier.gilles from comment #6)
> But how did you created these tags ? directly with tag manager or you import
> tags from image files metadata ?

If I remember correctly, I created these tags with the 7.0.0rc version of Digikam. I was just starting out organizing my image collection.
Comment 8 Kristjan Ulfsson 2020-10-20 23:01:45 UTC
(In reply to caulier.gilles from comment #5)
> Perhaps you use a wrong locale on Windows host settings ?

That could be, but is that a locale setting for DigiKam or just in general for all apps ? I am not aware of any other apps showing the same issue.

Typing in MSINFO32.exe I find that the locale is indeed United States. Perhaps I need/should change it ? What impact would that have on other applications ?
Comment 9 Maik Qualmann 2020-10-25 06:04:32 UTC
Git commit 2fb4014c202b7731d0f3938d52c6c170de7ab4a1 by Maik Qualmann.
Committed on 25/10/2020 at 06:03.
Pushed by mqualmann into branch 'master'.

show the locale in the database statistics dialog

M  +3    -0    core/libs/database/utils/widgets/dbstatdlg.cpp

https://invent.kde.org/graphics/digikam/commit/2fb4014c202b7731d0f3938d52c6c170de7ab4a1
Comment 10 Kristjan Ulfsson 2020-10-26 20:05:09 UTC
(In reply to Maik Qualmann from comment #9)
> Git commit 2fb4014c202b7731d0f3938d52c6c170de7ab4a1 by Maik Qualmann.
> Committed on 25/10/2020 at 06:03.
> Pushed by mqualmann into branch 'master'.
> 
> show the locale in the database statistics dialog
> 
> M  +3    -0    core/libs/database/utils/widgets/dbstatdlg.cpp
> 
> https://invent.kde.org/graphics/digikam/commit/
> 2fb4014c202b7731d0f3938d52c6c170de7ab4a1

I am running this on Windows 10, so not sure I know how to do this. Do you have instructions ?
Comment 11 Maik Qualmann 2020-10-27 06:48:30 UTC
Right now you don't need to do anything. This commit will be available in a new Beta1 bundle for Windows in the next few days. Then you can check in the database statistics tool which locale is set in your system and in the database. Another question, can you create a new tag that has correctly coded characters?

Maik
Comment 12 caulier.gilles 2022-01-08 16:18:01 UTC
Hi Kristjan and happy new year,

Please test with current digiKAm windows installer 7.5.0 pre-release. And look the last Q from Maik in this thread.

https://files.kde.org/digikam/

Best regard

Gilles Caulier
Comment 13 caulier.gilles 2023-04-30 02:56:21 UTC
@Kristjan

digiKam 8.0.0 is out. This entry still valid with this release ?

Best regards

Gilles Caulier
Comment 14 Kristjan Ulfsson 2023-04-30 11:47:37 UTC
(In reply to caulier.gilles from comment #13)
> @Kristjan
> 
> digiKam 8.0.0 is out. This entry still valid with this release ?
> 
> Best regards
> 
> Gilles Caulier

I think it is solved. I haven“t observed this issue since 7.1, now on 8 it is looking good.