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`
linux-gate.so.1 => (0xb7fe0000)
libasound.so.2 => /usr/lib/libasound.so.2 (0xb7f05000)
libjack.so.0 => /usr/lib/libjack.so.0 (0xb7eec000)
libsamplerate.so.0 => /usr/lib/libsamplerate.so.0 (0xb7ecf000)
libcurl-gnutls.so.4 => /usr/lib/libcurl-gnutls.so.4 (0xb7e97000)
libncursesw.so.5 => /lib/libncursesw.so.5 (0xb7e5c000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7e53000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7e3b000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7e16000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0xb7dec000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7de8000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7dd3000)
libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb7dbb000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7c6c000)
libidn.so.11 => /usr/lib/libidn.so.11 (0xb7c3a000)
libldap_r-2.4.so.2 => /usr/lib/libldap_r-2.4.so.2 (0xb7bfa000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xb7b6d000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xb7b4a000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0xb7b47000)
libgnutls.so.13 => /usr/lib/libgnutls.so.13 (0xb7ad1000)
/lib/ld-linux.so.2 (0xb7fe1000)
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xb7ac8000)
libkeyutils.so.1 => /lib/libkeyutils.so.1 (0xb7ac5000)
libresolv.so.2 => /lib/tls/i686/cmov/libresolv.so.2 (0xb7ab2000)
liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0xb7aa5000)
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb7a8e000)
libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0xb7a7d000)
libgcrypt.so.11 => /lib/libgcrypt.so.11 (0xb7a30000)
libgpg-error.so.0 => /lib/libgpg-error.so.0 (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
RCC:
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".