Page 2 of 2

Re: Russian names of files and folders on USB-flash

Posted: 15. Jul 2010, 16:56
by Andyun
gapan wrote:No, because it's already fixed in the package. Now I see the real problem, which I missed earlier. You have LC_COLLATE=C, which disables utf8 for mounting. If you had set it to ru_RU.utf8 you would have had no problems. So, it's not a bug really, it was only caused by your custom locale settings.
Locale ru_RU.utf8 I chose to install Salix OS and no longer changed.

Re: Russian names of files and folders on USB-flash

Posted: 15. Jul 2010, 20:26
by Shador
thenktor wrote:I don't think LC_COLLATE should change the locale settings of mounted drives. It only should change the sort order, shouldn't it? If so it looks like an upstream bug for me, but I could be wrong.
Yes, that's what I thought, too. As far as I know it's also common to set it to C as it then provides consistent sort orders and prevents unexpected (/unwanted) behaviors. Look at the comment in /etc/profile.d/lang.sh.
It's set to C here too btw and I guess for you too.

Re: Russian names of files and folders on USB-flash

Posted: 15. Jul 2010, 22:00
by thenktor
Shador wrote:It's set to C here too btw and I guess for you too.
You are right :)

Re: Russian names of files and folders on USB-flash

Posted: 16. Jul 2010, 07:20
by thenktor
BTW: On the OpenSuse machine here at work it is:
LANG=de_DE@euro
LC_CTYPE="de_DE@euro"
LC_NUMERIC="de_DE@euro"
LC_TIME="de_DE@euro"
LC_COLLATE="de_DE@euro"
LC_MONETARY="de_DE@euro"
LC_MESSAGES="de_DE@euro"
LC_PAPER="de_DE@euro"
LC_NAME="de_DE@euro"
LC_ADDRESS="de_DE@euro"
LC_TELEPHONE="de_DE@euro"
LC_MEASUREMENT="de_DE@euro"
LC_IDENTIFICATION="de_DE@euro"
LC_ALL=

Re: Russian names of files and folders on USB-flash

Posted: 18. Jul 2010, 21:19
by gapan
Why isn't it set to C for me then? :D

And you're right, LC_COLLATE shouldn't change the mount options. Does mounting usb in xfce work properly with vfat for you Germans? I'll try to check for russian later, but I don't see why it works fine here by default and doesn't work for Andyun.

Re: Russian names of files and folders on USB-flash

Posted: 19. Jul 2010, 06:34
by Shador
gapan wrote:Why isn't it set to C for me then? :D
Because your a nasty hacker and don't keep things the way they're supposed to be like by Patrick. :P :twisted:
Does mounting usb in xfce work properly with vfat for you Germans?
Yes, it seems so with Thunar. I could create such folders and they would display properly "ääää$&&" and "üüüüü".

Re: Russian names of files and folders on USB-flash

Posted: 19. Jul 2010, 07:34
by thenktor
Shador, did you also check the mount options?

Re: Russian names of files and folders on USB-flash

Posted: 19. Jul 2010, 18:45
by gapan
I just tried here with a russian locale and it works fine, without having to edit the mount.rc file. Still no idea why it doesn't work for Andyun. Anyone else having the same problem?

Re: Russian names of files and folders on USB-flash

Posted: 19. Jul 2010, 21:45
by Andyun
Such parameters the locale also is here (screenshot): http://www.salixos.org/forum/viewtopic.php?f=34&t=989

Re: Russian names of files on USB-flash [OK]

Posted: 9. Jun 2012, 16:12
by Andyun
This problem is solved in Xfce package for Salix 13.37 (source). Thank you, Gapan!