View previous topic :: View next topic |
Author |
Message |
koan Apprentice


Joined: 01 May 2006 Posts: 169 Location: Melbourne
|
Posted: Sun May 17, 2015 10:15 pm Post subject: Digikam under Plasma 5 reports ISO-8859-1 locale |
|
|
When I start digikam while running Plasma 5, it reports my locale is now ISO-8859-1 whereas it expects UTF-8. The digikam configuration files date back to KDE SC4, and my environment has been UTF8 for quite some time.
My system locale is UTF-8. In System Settings / Regional Settings / Formats, it isn't clear what the locale is from the region selected.
If I run digikam from konsole started from within Plasma 5, and first check LCTYPE and LANG are both utf-8, I still get the same message.
How is digikam determining the locale? |
|
Back to top |
|
 |
VoidMage Watchman


Joined: 14 Oct 2006 Posts: 6194
|
Posted: Mon May 18, 2015 11:31 am Post subject: |
|
|
Just to be sure, what's the output of 'locale' and 'locale charmap' in konsole ? |
|
Back to top |
|
 |
koan Apprentice


Joined: 01 May 2006 Posts: 169 Location: Melbourne
|
Posted: Mon May 18, 2015 12:58 pm Post subject: |
|
|
Hmmm. An error related to LC_ALL:
Code: | $ locale
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_AU.UTF-8
LC_CTYPE="en_AU.UTF-8"
LC_NUMERIC="en_AU.UTF-8"
LC_TIME=en_IO.UTF-8
LC_COLLATE="en_AU.UTF-8"
LC_MONETARY="en_AU.UTF-8"
LC_MESSAGES="en_AU.UTF-8"
LC_PAPER="en_AU.UTF-8"
LC_NAME="en_AU.UTF-8"
LC_ADDRESS="en_AU.UTF-8"
LC_TELEPHONE="en_AU.UTF-8"
LC_MEASUREMENT="en_AU.UTF-8"
LC_IDENTIFICATION="en_AU.UTF-8"
LC_ALL=
|
Code: |
$ locale charmap
locale: Cannot set LC_ALL to default locale: No such file or directory
UTF-8
|
|
|
Back to top |
|
 |
VoidMage Watchman


Joined: 14 Oct 2006 Posts: 6194
|
Posted: Tue May 19, 2015 12:04 pm Post subject: |
|
|
In that case, two things: 'printenv' and check if your locale actually exists (content of /usr/share/i18n/SUPPORTED should offer a good hint about that). |
|
Back to top |
|
 |
koan Apprentice


Joined: 01 May 2006 Posts: 169 Location: Melbourne
|
Posted: Tue May 19, 2015 9:53 pm Post subject: |
|
|
Yeah, it is there.
I have just set LC_ALL to en_AU.UTF-8 which seems to have fixed it. |
|
Back to top |
|
 |
VoidMage Watchman


Joined: 14 Oct 2006 Posts: 6194
|
Posted: Wed May 20, 2015 10:06 am Post subject: |
|
|
koan wrote: | Yeah, it is there.
I have just set LC_ALL to en_AU.UTF-8 which seems to have fixed it. |
LC_ALL shouldn't be set at all. |
|
Back to top |
|
 |
|