Bug 352040 - names for faces do not take non-ASCII characters
Summary: names for faces do not take non-ASCII characters
Status: RESOLVED WORKSFORME
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Workflow (show other bugs)
Version: 4.12.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-30 23:09 UTC by Nicholas Alexander
Modified: 2017-08-15 21:50 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.13.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicholas Alexander 2015-08-30 23:09:03 UTC
My name is Lucian Șandor. Whenever I type that under a ace and press ENTER, the name is saved as "Lucian andor". The non-ASCII character vanishes.

Reproducible: Always

Steps to Reproduce:
1. Enter name editor under a face.
2. Type a name containing non-ASCII characters.
3. Press ENTER.

Actual Results:  
Only the ASCII characters are saved.

Expected Results:  
The name should be saved as typed.
Comment 1 caulier.gilles 2015-08-31 07:04:55 UTC
Not reproducible here :

https://www.flickr.com/photos/digikam/21016060062/in/dateposted-public/.

Did you have a full UTF8 compatible Linux system, properly configured with right LOCALE settings ?

Gilles Caulier
Comment 2 Nicholas Alexander 2015-08-31 14:53:10 UTC
The system is Ubuntu Vivid, so I doubt there are may more modern options.
The LOCALE is set for en_US.UTF-8. That includes Ș. I can type Ș anywhere, including Terminal and Krusader, and it always worked.
I am confused now. Are my settings wrong, or is this a bug? Please let me know if there is any missing information.
Comment 3 caulier.gilles 2015-08-31 15:35:45 UTC
It's clear, it's not a bug. source code use QString container everywhere which is UF8 based. Database use UTF8 to store string. It's not a digiKam bug sure...

My system is Linux Mageia5. There is nothing special about characters encoding settings.

Gilles Caulier