From: Saravanan Krishnan Date: 2008-08-29T16:21:08+09:00 Subject: Re: parceexcel and fields in xls file Sandro Paganotti wrote: > I think it could be some sort of strange character encoding, try this: > > utf8(row.at(0)) > > where utf is defined as follow: > > def utf8(val) > val.to_s('Latin1').unpack("C*").pack("U*") > end > > this last function depends heavily on which encoding are you using... > try > some different > encoding strings to find the one that fix your problem. > > Sandro > > > On Tue, Aug 26, 2008 at 7:02 AM, Vidya Ramachandren < Sandro's thought is absolutely right. Still if you have problem let me know. Saravanan -- Posted via http://www.ruby-forum.com/.