Page 1 of 2

Problems with Win-1251 Russian encoding in PCManFM

Posted: 04 Nov 2011, 10:28
by Cyril
Hello again,

In LXDE PCManFM doesn't display Win-1251 Russian characters in filenames, while Konqueror does. I'm using the following kernel parameters:

lang=ru_RU.cp1251 iocharset=cp1251

for both FAT and NTFS partitions. Konqueror displays everything correctly, but PCManFM shows only squares in all cases. So I have to use only Konqueror in LXDE.

Re: Problems with Win-1251 Russian encoding in PCManFM

Posted: 04 Nov 2011, 15:21
by fanthom
Welcome on board Cyril,

if you are using Porteus-1.0 then i would recommend to use "Language Selection Tool" to generate unique xzm module with preferred language settings and required files.
'lang=' cheatcode wont be necessary then.

let us know if LST worked for you.

Re: Problems with Win-1251 Russian encoding in PCManFM

Posted: 06 Nov 2011, 18:05
by Cyril
Thanks for your help. Well, here's what happened.

As I mentioned in the above thread, I'm using version 1.1rc1 frugally installed on USB. Before even running Porteus for the first time, I found this thread: http://porteus.org/forum/viewtopic.php?f=54&t=621 (this is a Russian localization pack for Porteus 1.0). I've downloaded this pack on the link: http://www.mediafire.com/?doe0enw01jv8u35. And I posted my messages using this particular configuration. In this case everything worked fine, the whole system was in Russian, all the filenames were displayed correctly, except for PCManFM.

Then I followed your advice. I deleted all the Russian modules from that pack. As I don't have an Internet connection on my netbook (where I tried Porteus), I couldn't use the Language Selection Tool. So I downloaded (on my home PC) the following files:

glibc-i18n-2.13-i486-4jay.xzm
kde-i18n-ru-3.5.12-i486-1jay.xzm
locales-porteus-i486-1jay.xzm

I booted into KDE and chose the Russian language for the system in KDE Control Center. The system was in Russian again, but the files now weren't displayed correctly in BOTH Konqueror and PCManFM. I rebooted in KDE and LXDE and it was the same everywhere. (The reason, I guess, is in this file: 5-config-ru_RU_CP1251-x86; it's in the Russian loco pack archive) So I deleted these 3 files and installed that Russian loco pack again.

So now I'm at where I began: everything is displayed fine, but PCManFM still doesnot show Russian characters in Win-1251 encoding. Well, now I think that's a PCManFM's bug only. Can anything be done with it?

Re: Problems with Win-1251 Russian encoding in PCManFM

Posted: 07 Nov 2011, 08:57
by Blaze
In this case everything worked fine, the whole system was in Russian, all the filenames were displayed correctly, except for PCManFM.
hm, i have the same problems in the Porteus-v1.1 rc1 32 bit with my Russian localization [cp1251] too - konqueror and PCManFM have problems with russian files and folders.
In previous versions of Porteus I had no problems with my localization.

I think these problems because of
- switched whole system to 'en_US.UTF-8' locale to be able to display all names on FAT/NTFS by default

Re: Problems with Win-1251 Russian encoding in PCManFM

Posted: 07 Nov 2011, 14:36
by fanthom
i have the same problems in the Porteus-v1.1 rc1 32 bit with my Russian localization [cp1251] too - konqueror and PCManFM have problems with russian files and folders.
on which filesystem does it happen?
if on FAT then please boot with 'iocharset=cp1252' cheatcode

Cheers

Re: Problems with Win-1251 Russian encoding in PCManFM

Posted: 07 Nov 2011, 17:22
by Blaze
fanthom, i have this problem with NTFS
http://img810.imageshack.us/img810/641/glibcbuggg.jpg

I think this problem in glibc.
My version glibc is glibc-i18n-2.12.2-i486

Re: Problems with Win-1251 Russian encoding in PCManFM

Posted: 07 Nov 2011, 19:26
by Hamza
Did you tried with media:/ instead system:/media..? Just a question :)

Re: Problems with Win-1251 Russian encoding in PCManFM

Posted: 08 Nov 2011, 07:19
by Blaze
hi Hamza.

Yes, i tried it:
Image

Re: Problems with Win-1251 Russian encoding in PCManFM

Posted: 08 Nov 2011, 18:47
by Hamza
Do Konqueror profile has been set Russian Encoding? :roll:

Re: Problems with Win-1251 Russian encoding in PCManFM

Posted: 09 Nov 2011, 10:34
by fanthom
@Blaze
In previous versions of Porteus I had no problems with my localization.
i went back to porteus 1.0 and even 0.9 but still cant force pcmanfm to display polish characters correctly on ntfs with non UTF-8 encoding (utf8 works fine).
could you show me a screenshot where pcmanfm works ok with cp1251 on ntfs?

Cheers

Re: Problems with Win-1251 Russian encoding in PCManFM

Posted: 09 Nov 2011, 13:44
by Blaze
fanthom,
Image
Cheers

Re: Problems with Win-1251 Russian encoding in PCManFM

Posted: 09 Nov 2011, 14:09
by fanthom
thanks Blaze,

anyway - i was asking for pcmanfm and not konqueror .
i know that konqueror works fine with non UTF-8 encodings - only pcmanfm causes troubles for me.
please show the same folder in pcmanfm.

Re: Problems with Win-1251 Russian encoding in PCManFM

Posted: 09 Nov 2011, 17:02
by Blaze
sorry.
Image
damn it :(

Re: Problems with Win-1251 Russian encoding in PCManFM

Posted: 09 Nov 2011, 18:29
by fanthom
@Blaze
time for switching to ru_RU.UTF-8 :)

Re: Problems with Win-1251 Russian encoding in PCManFM

Posted: 10 Nov 2011, 06:55
by Blaze
fanthom,
Yep, but i don't use PCManFM and prefer 1251 :)