[Digikam-devel] [Bug 195006] national charaters not accepted in database file path
Andrzej
superandrzej at epf.pl
Thu Mar 15 22:47:23 GMT 2012
https://bugs.kde.org/show_bug.cgi?id=195006
Andrzej <superandrzej at epf.pl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Hardware|Other |Compiled Sources
Version|2.4.1 |2.6.0
--- Comment #24 from Andrzej <superandrzej at epf.pl> ---
Marcel,
Database file name is read correctly from the config file but it it seems that
it shouldn't be passed as UTF-8 to the Qt SQL driver but depending on locale
settings because Qt SQL driver seems to be using it directly without taking
locale settings in to account.
As I mentioned before:
To confirm this I created symlink to /D/zdjęcia/ called /D/zdjÄcia/ and
digiKam i.e Qt SQL driver had no problem in finding the location.
So the solution should be to pass the database path to Qt SQL driver depending
on locale settings i.e. on UTF-8 systems settings it should be passed as UTF-8
but
on ISO 8859-2 systems it should be passed as ISO 8859-2.
I know that digiKam is checking what are locale settings so this information is
already available.
Andrzej
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list