You are not logged in.

#1 2017-04-09 20:33:27

lexxa
Member
Registered: 2017-03-19
Posts: 4

[solved] Problems with locale and non-english Unicode characters

Sorry for the vague description, it seems like one problem that manifests itself in multiple ways.

My system is localized to ru_RU.UTF-8 and some time ago problems started to appear (meaning everything did work until some point in time):
1) some GUI applications (like LibreOffice, Opera, Ark) won't open any file with non-english characters in name or pathname. EasyTag, Dolphin, Krusader work fine
2) Kde translation turned to be 95% non-translated to Russian, software that depends on its settings turned to English
3) console utilities output is screwed up:

[lexxa@Lexxa-Desktop 永动机 - 2014 - 战.歌]$ pwd
/run/media/lexxa/Data/Music/永动机 - 2014 - 战.歌
[lexxa@Lexxa-Desktop 永动机 - 2014 - 战.歌]$ ls
'01 '$'\350\256\250\351\200\206\346\252\204\346\226\207''.mp3'
'02 '$'\345\233\275\351\243\216'' '$'\350\222\271\350\221\255''.mp3'
'03 '$'\344\272\221\346\230\257\351\271\244\345\256\266\344\271\241''.mp3'
'04 '$'\351\225\277\346\230\245\345\233\255''.mp3'
'05 '$'\345\215\203\351\207\214\351\200\201\350\231\236\345\247\254'' '$'\345\206\215\347\274\226\351\205\215\347\211\210''.mp3'
'06 '$'\345\272\232\345\255\220\351\201\227\346\242\246''.mp3'
'07 '$'\350\264\235\350\264\235''.mp3'
'08 '$'\345\244\251\345\234\260\344\270\200\345\256\266\346\230\245''.mp3'
'09 '$'\345\253\243\350\211\262\347\217\210\350\223\235''.mp3'
'10 '$'\345\244\247\344\271\220''.mp3'
'11 '$'\344\270\221\351\231\213\347\232\204\345\244\247\344\275\233''.mp3'
AlbumArtSmall.jpg
Folder.jpg
[lexxa@Lexxa-Desktop 永动机 - 2014 - 战.歌]$

the files are in japanese too

find outputs differently:

./Unlucky Morpheus - 2010 - ????????????


locale output

locale -a
C
en_US.utf8
POSIX
ru_RU.utf8

Please tell me what else is needed. I have no idea where to look really. Am happy for suggestions

Last edited by lexxa (2017-04-10 06:27:00)

Offline

#2 2017-04-10 05:45:25

ayekat
Member
Registered: 2011-01-17
Posts: 1,634

Re: [solved] Problems with locale and non-english Unicode characters

Hi, what's the output of `locale`?


pkgs │ hacks │ cfg │ blag

Offline

#3 2017-04-10 06:19:48

lexxa
Member
Registered: 2017-03-19
Posts: 4

Re: [solved] Problems with locale and non-english Unicode characters

locale
locale: Невозможно установить LC_ALL в локаль по умолчанию.: Нет такого файла или каталога
LANG=ru_RU.UTF-8
LC_CTYPE="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_MONETARY=en_IL.UTF-8
LC_MESSAGES="ru_RU.UTF-8"
LC_PAPER="ru_RU.UTF-8"
LC_NAME="ru_RU.UTF-8"
LC_ADDRESS="ru_RU.UTF-8"
LC_TELEPHONE="ru_RU.UTF-8"
LC_MEASUREMENT="ru_RU.UTF-8"
LC_IDENTIFICATION="ru_RU.UTF-8"
LC_ALL=
[

Translation:
Cannot set LC_ALL to default locale: No such file or directory

Offline

#4 2017-04-10 06:26:36

lexxa
Member
Registered: 2017-03-19
Posts: 4

Re: [solved] Problems with locale and non-english Unicode characters

OK, got it:
needed to generate en_IL.UTF-8 locale

Thank you. Solved for the time being

Would be happy for an explanation though smile

Last edited by lexxa (2017-04-10 06:28:01)

Offline

#5 2017-04-10 11:36:22

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,567

Re: [solved] Problems with locale and non-english Unicode characters

Are you using gnome and if so, is geolocation enabled ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#6 2017-04-10 19:29:40

lexxa
Member
Registered: 2017-03-19
Posts: 4

Re: [solved] Problems with locale and non-english Unicode characters

Lone_Wolf wrote:

Are you using gnome and if so, is geolocation enabled ?

No, KDE

Offline

#7 2017-04-11 11:52:26

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,567

Re: [solved] Problems with locale and non-english Unicode characters

Ok, what i was thinking is that some program was trying to determine your location and adjust your localization settings automatically.
Gnome geolocation has been reported to use ip-address data that can mess things up that way.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB