From: Jeff Mital Date: 2005-08-12T09:16:10+09:00 Subject: Re: UTF-8 encoding * balony@gmail.com : > > Dave Burt skrev: >> balony@gmail.com wrote: [...] >> > Is this for real? Is there no workaround for me to get my data to the >> > server with uft8 encoding? >> >> You can use iconv or you can run an external pipe through GNU recode. >> >> utf8_string = Iconv.new('iso-8859-1', 'utf-8').iconv(iso_8859_string) > > I'm running on a windows system, that could be a problem? Also > i'm getting "test.rb:4: uninitialized constant Iconv (NameError)" > when testing. You'll need to put the line: require 'iconv' at the top of your program to use the Iconv.* functions. I don't have access to a Windows box, but if it's part of Ruby's standard library, I'd assume it's available on Windows. - jeff - -- jeff mital jmital@aracnet.com Unix is simple. It just takes a genius to understand its simplicity. - Dennis Ritchie