From: Carlos Date: 2004-02-16T22:27:55+09:00 Subject: Re: Conversion between utf-8 and iso8859-1? > Hi, > > I need to convert between different character sets, > but didn't find any library to do so except for > ruby-gnome's glib.convert > > Is there any character conversion library which > doesn't come with a complete graphical library? Between these two encodings, you can use, without any external library: utf8string.unpack("U*").pack("c*") # => latin1 string latin1string.unpack("C*").pack("U*") # => utf8 string