I've forgot to mention that I have tried all codepages in Options->Display bits. Also, Cyrillic files and folders that I need are on the external NTFS formatted USB hard drive.
I think I've found a solution. The Midnight Commander should be compiled with "--enable-charset". How to do this?
Are the NTFS Cyrillic file names and contents correctly displayed on a simple "ls" or "find" command? How do they appear in the Setup->Folders Browse?
Are the NTFS Cyrillic file names and contents correctly displayed on a simple "ls" or "find" command? How do they appear in the Setup->Folders Browse?
Yes, the content is correctly displayed on a "ls" command. Also, the Cyrillic symbols aren't correctly displayed not only on mounted NTFS volume, but on internal volumes too. You can try it by yourself. Just unzip attached file and look at the symbols in the name of uzipped file. It should be: "Тест отображения кириллицы в названии файла".
Are the NTFS Cyrillic file names and contents correctly displayed on a simple "ls" or "find" command? How do they appear in the Setup->Folders Browse?
Yes, the content is correctly displayed on a "ls" command. Also, the Cyrillic symbols aren't correctly displayed not only on mounted NTFS volume, but on internal volumes too. You can try it by yourself. Just unzip attached file and look at the symbols in the name of uzipped file. It should be: "Тест отображения кириллицы в названии файла".
[root@dns-320l]# ls
josé
joão
Тест отображения кириллицы в названии файла
mc 4.8.18-1 forn Entware works well with cyrilic filenames on Alt-F
BTW, have you added/installed some "locale" to Entware or defined some LANG, or did it display those cyrilic characters OK out of the install?
[root@dns-323]# opkg install coreutils-date[root@dns-323]# LANG=ru_RU.UTF-8 /opt/bin/dateЧт ноя 17 18:55:46 UTC 2016
Is it possible to install locales to Alt-F? Having whole Entware becouse of mc hurts me.P.S. I know that Alt-F packages are compiled with --disable-nls, so recompiling mc will be the next step :)
Yes, and all the packages that support nls and currently have it disabled, and the C library support also, and the DNS-323 which simply has no flash memory space to store the locale files -- I often fight with it against a few KB missing. Yes, the 323 is old and slow (as I'm -- are you dropping me too ?:)
So, its a no go. Sorry.PS-perhaps I could compile 'mc' with static builtin locales. Who wants Vietnamit, Chinese (which one of them?), Arabic,... name them. But all this is hypothetical, I'm not yet certain that locales is the real issue.
Yes, and all the packages that support nls and currently have it disabled, and the C library support also, and the DNS-323 which simply has no flash memory space to store the locale files -- I often fight with it against a few KB missing. Yes, the 323 is old and slow (as I'm -- are you dropping me too ?:)Sorry for my bad English, I`m not asking to recompile a firmware, Minimalism for embedded devices must be as a rule even if it is some memory left :) My question was is it possible to install locales "on top" (Alt-F folder may be?) as it is done in Entware. In the routers there are also no space for locales in the flash.
Works as a charm, thank you!Just one question , what is slang? What is it for?mc from official repo nor from entware does not have slang dependency.
пятница, 18 ноября 2016 г., 20:38:33 UTC+3 пользователь Prototype написал:Yes, and all the packages that support nls and currently have it disabled, and the C library support also, and the DNS-323 which simply has no flash memory space to store the locale files -- I often fight with it against a few KB missing. Yes, the 323 is old and slow (as I'm -- are you dropping me too ?:)Sorry for my bad English, I`m not asking to recompile a firmware, Minimalism for embedded devices must be as a rule even if it is some memory left :) My question was is it possible to install locales "on top" (Alt-F folder may be?) as it is done in Entware. In the routers there are also no space for locales in the flash.Hi! I compiled mc with UTF-8 patch and SLANG support for Alt-F 0.1RC5 firmware.
I am satisfied with the result. Cyrillic characters are displayed correctly.
Packages mc_4.8.1.6-2_arm.ipk and slang_2.2.4_arm.ipk now available at my local repository http://downloads.wild-bit.com/alt-f/pkgs
--
You received this message because you are subscribed to the Google Groups "Alt-F" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/alt-f.
For more options, visit https://groups.google.com/d/optout.
Cyrilic works, thank you both.
Howeever installs slang as dependency.
Not sure if this is good for non cyrillic users.
export LC_ALL='en_US.UTF-8'
alias mc='LC_ALL="en_US.UTF-7" mc'
Please tell me how to add support for Cyrillic names of files and folders in Midnight Commander?
Hardware: D-Link DNS-323 Rev B1
Alt-F: 0.1RC4 with kernel 3.10.32
Midnight Commander: 4.8.1.6