Hi Fred & Bryan,

Thank you so very much for looking into my query and helping me resolve 
it.

Your hint did the trick. The input file had an ANSI encoding instead of 
UTF-8. I just changed it and it worked.

God bless you both :-)

Thanks,
Zahid



Bryan Crossland wrote in post #983175:
> Hi Zahid,
>
> Make sure your database.yml file knows to talk to the database in
> UTF-8. Add the following to you database defined in there:
>
> encoding: utf8
>
> That will ensure that the communication is in UTF-8. Now, Fredrick
> makes a good point. The input file you are reading from should also be
> in UTF-8 format and be displaying the characters properly. Double
> check that as well.
>
> Thanks,
> B.
>
> On Tue, Feb 22, 2011 at 3:48 AM, Frederick Cheung

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to