[Digikam-devel] database locale

Marcel Wiesweg marcel.wiesweg at gmx.de
Wed Apr 18 17:10:42 BST 2007


Hi,

I have a question about some historic piece of code in the AlbumManager:
Does anyone know for what purpose the Locale is stored in the database?

In the db, strings are stored in UTF-8 anyway, and the locale setting is never 
used. The setting is used only for generating a warning when the locale has 
changed.

This warning is useful when a user has changed his system charset (to UTF-8) 
and did not rename the filenames accordingly. But the error message speaks 
about "This can cause unexpected problems". 
Not very helpful for the user. Is anyone aware of problems other than the 
file-renaming requirement?

Marcel



More information about the Digikam-devel mailing list