Russian names of files on USB-flash [OK]

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
Andyun
Posts: 456
Joined: 17. Jun 2010, 09:51
Location: Russia: Severodvinsk / Россия: Северодвинск

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

Post 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.
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

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

Post 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.
Image
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

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

Post by thenktor »

Shador wrote:It's set to C here too btw and I guess for you too.
You are right :)
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

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

Post 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=
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
gapan
Salix Wizard
Posts: 6368
Joined: 6. Jun 2009, 17:40

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

Post 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.
Image
Image
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

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

Post 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 "üüüüü".
Image
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

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

Post by thenktor »

Shador, did you also check the mount options?
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
gapan
Salix Wizard
Posts: 6368
Joined: 6. Jun 2009, 17:40

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

Post 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?
Image
Image
User avatar
Andyun
Posts: 456
Joined: 17. Jun 2010, 09:51
Location: Russia: Severodvinsk / Россия: Северодвинск

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

Post by Andyun »

Such parameters the locale also is here (screenshot): http://www.salixos.org/forum/viewtopic.php?f=34&t=989
User avatar
Andyun
Posts: 456
Joined: 17. Jun 2010, 09:51
Location: Russia: Severodvinsk / Россия: Северодвинск

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

Post by Andyun »

This problem is solved in Xfce package for Salix 13.37 (source). Thank you, Gapan!
Post Reply