Help required with UTF-8

Salvatore Iovene <[email protected]> Mon, 5 Mar 2007 13:37:18 +0200
Newsgroups gmane.network.irc.irssi.user
Organization OSS
Message-ID <[email protected]>
Hi,
I recently changed my locale to UTF-8, and I'm experiencing problems
with irssi.

Let me try and give you all the possible information.

This is the output of "locale":

siovene@sd024:~$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8

My terminal is uxterm, and the UF-8 characters work well in it. Actually
I'm just particularly interested in the swedish characters äöå, which
also exist in ISO-8859-15.

This are the relevant irssi settings I have:

term_charset = UTF-8

recode_autodetect_utf8 = ON
recode_fallback = ISO-8859-15
recode = ON
recode_out_default_charset = ISO-8859-15
recode_transliterate = ON

I honestly have to admit that I didn't quite understand what the recode
is for in first place, but my interpretation would be that irssi would
convert my UTF-8 to ISO-8859-15, if the other end doesn't support UTF-8.

Anyway, what I get is the following. If I'm chatting with people that
have UTF-8 too, then everything is fine.
But if I'm chatting with people with different charsets, I'm not able to
see their äöå, and they're not able to see mine.

Can anyone please help me to fix this? I've tried everything I could,
but I'm still stuck with it.

Thank you!

-- 
Salvatore Iovene
http://www.iovene.com
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFF7ADuGZS/cC3sdZARAvRPAKCO0+cpOLmAXiJs5p0F52gQqAPqcQCfaemQ
+ijPFlUpNEOcTdcIDjXK/q8=
=qJwQ
-----END PGP SIGNATURE-----