From: Katarina WONG Date: 2005-07-21T00:05:41+09:00 Subject: Re: how to do charset conversion in ruby? On Wed, 20 Jul 2005 08:31:39 +0200, femtowin femtowin wrote: > hello all, > say I've get a file encoding in GB2312, > how do I convert it to UTF-8? > How about a good old RTFM ? ;) http://www.ruby-doc.org/ is your friend. Check out this page for the iconv wrapper http://www.ruby-doc.org/stdlib/libdoc/iconv/rdoc/classes/Iconv.html -- Katarina