Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Digikam under Plasma 5 reports ISO-8859-1 locale
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
koan
Apprentice
Apprentice


Joined: 01 May 2006
Posts: 169
Location: Melbourne

PostPosted: Sun May 17, 2015 10:15 pm    Post subject: Digikam under Plasma 5 reports ISO-8859-1 locale Reply with quote

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
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6193

PostPosted: Mon May 18, 2015 11:31 am    Post subject: Reply with quote

Just to be sure, what's the output of 'locale' and 'locale charmap' in konsole ?
Back to top
View user's profile Send private message
koan
Apprentice
Apprentice


Joined: 01 May 2006
Posts: 169
Location: Melbourne

PostPosted: Mon May 18, 2015 12:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6193

PostPosted: Tue May 19, 2015 12:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
koan
Apprentice
Apprentice


Joined: 01 May 2006
Posts: 169
Location: Melbourne

PostPosted: Tue May 19, 2015 9:53 pm    Post subject: Reply with quote

Yeah, it is there.

I have just set LC_ALL to en_AU.UTF-8 which seems to have fixed it.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6193

PostPosted: Wed May 20, 2015 10:06 am    Post subject: Reply with quote

koan wrote:
Yeah, it is there.

I have just set LC_ALL to en_AU.UTF-8 which seems to have fixed it.


:roll: LC_ALL shouldn't be set at all.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum