I'm getting the following error with my Ruby 1.9
I tried using (as some resources suggested)
string.force_encoding('utf-8')
But it didn't help!
Any ideas how to resolve this? Is there a way to eliminate such characters before saving to DB? or is a there a way to make them show?
For example, when I want to print:
Opowieść o kulcie przemocy
I get:
Opowie?? o kulcie przemocy