cyrillic suport in MOC

i would be thankful to the MOC's developers, if they'll try to include cyrillic support for the correct indication of russian-named tags, (it's boring to see ######-##### in cyrillic tags). i think it would be a great gift for the russian users of MOC! maybe there are some patches tor the cyrillic support in MOC? so if it's not difficult for you, please show me some links to it...

.....with much respect, XATRIX

this very nice, thank

this very nice, thank you.

----------------
Onlinebackup | DentalMarketing

I've already written about

I've already written about it here - http://moc.daper.net/node/228.
Everything is good with filenames when I'm using patched for librcc support version of moc. But title of filebrowser still contains #####...

Also this)

I also have this problem and I have one more. When I enter the catalog named cyrillic symbols - everything's ok, but when I return to the prev catalog - selection appears on the top, not on the catalog I leaved.. If the directory is in English - everything's ok..

solved =)

see new topic - http://moc.daper.net/node/282 - Russian MOC

just solved this problem for me

Also have this problem

Using unstable ncurses from gentoo portage and the latest MOC, but get #### on the koi8-r filesystem..Tags are in UTF8 and look great.. Maybe it is possible to fix this problem?

Fixed..

gg..I installed librcc and now everything's ok)) I was sure that librcc was installed.... Thx 4 answers and sorry)

MOC don't understand cp1251

MOC don't understand UTF8 tags in ID3v1 but in ID3v2 it's ok. Very old problem for MOC. And don't understand cp1251 tags then i use options ID3v1TagsEncoding and/or UseRCC. System locale UTF8. In KOI8-R locale users say me - ID3v1TagsEncoding and UseRCC works.

Quote:
Is MOC linked with ncursesw or ncurses?

ncursesw! ncurses don't like UTF-8 :)

Vorb, I use patch:

Index: decoder_plugins/mp3/mp3.c
===================================================================
--- decoder_plugins/mp3/mp3.c   (revision 1982)
+++ decoder_plugins/mp3/mp3.c   (working copy)
@@ -156,7 +156,7 @@

                        /* Workaround for ID3 tags v1/v1.1 where the encoding
                         * is latin1. */
-                       if (id3_tag_options(tag, 0, 0) & ID3_TAG_OPTION_ID3V1) {
+                       if (0 && id3_tag_options(tag, 0, 0) & ID3_TAG_OPTION_ID3V1) {
                                char *t;

                                comm = (char *)id3_ucs4_latin1duplicate (ucs4);

But it's not real solution.

TAGS ARE OK!!!

I have all tags in UTF, I have problem ONLY with filesystem! )))

Is MOC linked with ncursesw

Is MOC linked with ncursesw or ncurses? You can check it by running ldd /path/to/mocp

--
Damian Pietras - MOC developer

ncurses

Now with ncurses..I tried both =)

You see, tags(in UTF8) are displayed well :)
On the filesystem I use KOI8-R encoding, locale ru_RU.KOI8-R, if the file has UTF8 tags it's name is taken from the tags and displayed well, but the directories and files with cyrillic names without tags are displayed with ####### :(

What about cyrillic in

What about cyrillic in directory name? Does moc use librcc for directories names now? It don't work for me.

It doesn't, it's a known

It doesn't, it's a known bug.

--
Damian Pietras - MOC developer

i have a "moc 2.4.0 Build:

i have a "moc 2.4.0 Build: Sep 9 2006 18:56:34" from gentoo-linux ports...ok, i'll download the source tarball form here and extract the config file to my root dir

ncurses problem?

I had the same problem (both cyrillic filenames and tags were shown as ####) due to wide character support missing from ncurses. Installing correct ncurses version and recompiling mocp solved it (for sake of completeness - FreeBSD specific problem, I think. Ships with old ncurses in base system. I've installed devel/ncurses and just reinstalled audio/moc port)

I have no problem

I have no problem with utf-8 azbuck (russian characters) in flac tags.

it's already done check

it's already done
check "ID3v1TagsEncoding" in config file. (Set it to WINDOWS-1251)

where is that config

where is that config file....seems i have no one.. exactly the path and the filename please

The example config file

The example config file comes with MOC sources (config.example), you can use it to create your ~/.moc/config

--
Damian Pietras - MOC developer

hmmm...i have no such a file

hmmm...i have no such a file there... :0 can you post it ? or email me

You don't have

You don't have config.example? Download moc-2.4.1.tar.bz2 from here and it's there. If you talk about ~/.moc/config, you need to create it, just cp config.example ~/.moc/config.

--
Damian Pietras - MOC developer

sorry i should post it

sorry i should post it here...

"i have a "moc 2.4.0 Build: Sep 9 2006 18:56:34" from gentoo-linux ports...ok, i'll download the source tarball form here and extract the config file to my root dir"

It's not your root

It's not your root directory, but your home directory, like /home/user/.moc/config

--
Damian Pietras - MOC developer