How to use librcc to detect id3 tag ?

I am using moc 2.5.0-alpha2 on Ubuntu 8.04
but it seems that the iconv things can not work properly for me, in a UTF-8 environment.

UseRCC seems have NO effect. I am not sure if it is because librcc is not linked in the pre-compiled package from Ubuntu repository.
ldd output:
ldd `which mocp` => (0xb7fe0000) => /usr/lib/ (0xb7f05000) => /usr/lib/ (0xb7eec000) => /usr/lib/ (0xb7ecf000) => /usr/lib/ (0xb7e97000) => /lib/ (0xb7e5c000) => /lib/tls/i686/cmov/ (0xb7e53000) => /lib/tls/i686/cmov/ (0xb7e3b000) => /lib/tls/i686/cmov/ (0xb7e16000) => /usr/lib/ (0xb7dec000) => /lib/tls/i686/cmov/ (0xb7de8000) => /usr/lib/ (0xb7dd3000) => /lib/tls/i686/cmov/ (0xb7dbb000) => /lib/tls/i686/cmov/ (0xb7c6c000) => /usr/lib/ (0xb7c3a000) => /usr/lib/ (0xb7bfa000) => /usr/lib/ (0xb7b6d000) => /usr/lib/ (0xb7b4a000) => /lib/ (0xb7b47000) => /usr/lib/ (0xb7ad1000)
/lib/ (0xb7fe1000) => /usr/lib/ (0xb7ac8000) => /lib/ (0xb7ac5000) => /lib/tls/i686/cmov/ (0xb7ab2000) => /usr/lib/ (0xb7aa5000) => /usr/lib/ (0xb7a8e000) => /usr/lib/ (0xb7a7d000) => /lib/ (0xb7a30000) => /lib/ (0xb7a2c000)

I tried to install librcc,librcd and corresponding dev packages.
Then download moc 2.4.3 and compile
but the configure output is :
MOC will be compiled with:
Decoder plugins: vorbis
OSS: yes
ALSA: yes
JACK: no
DEBUG: yes
Network streams: no
Resampling: no

even not a "no" after the RCC option field.

Anyone who can give me some hints?

RCC is used only by the mp3 plugin, the mocp binary is not linked with librcc. You have no RCC compiled, ./configure has a bug and doesn't display "no" here, but it means "no". Your only plugin is vorbis, it should work. Whats wrong now?

Thanks for your quick response.

What do you mean by ``RCC is used only by the mp3 plugin''?
Isn't it used for auto encode detection and translation?
Since I can not make ID3v1TagsEncoding work properly, I am trying to use librcc(hope my understanding is correct)

Also, how to compile with rcc? I have installed the development files of librcc and I think the configure script should have detected...

------- My purpose ------

ID3v1TagsEncoding = GBK:UTF-8
can not display mp3 tag correctly in my UTF-8 terminal...
just do not know how to make it work.

RCC and ID3v1TagsEncoding are used to decode only mp3 tags and only tags encoded as ID3 version 1 or 1.1 tags. For all other file types librcc and this option is not used. With ID3v1TagsEncoding you set it the encoding MOC should assume file tags are. This option is used only if librcc is disabled. valid values are encoding names, like "ISO-8859-2". In your case it's probably "GBK".