Aredridel wrote: >> > I need to convert between different character sets, >> > but didn't find any library to do so except for >> > ruby-gnome's glib.convert .... > iconv sounds like the tool to me. Or, if all you're doing is converting iso-8859-1 to UTF, you could use String::unpack and Array.pack: # ASCII (ISO-8859-1) -> UTF: string.unpack("C*").pack("U*") # UTF-8 -> ISO-8859-1 string.unpack("U*").pack("C*") Of course, the conversion from UTF-8 to ISO-8859-1 won't work in all cases, because the character space of UTF-8 is larger than ISO-8859-1. Going from ASCII to UTF-8 should always work, though. --- SER ### Deutsch|Esperanto|Francaise|Linux|XML|Java|Ruby|Haskell|Aikido ### http://www.germane-software.com/~ser jabber.com:ser ICQ:83578737 ### GPG: http://www.germane-software.com/~ser/Security/ser_public.gpg