Jeffrey L. Taylor wrote: > Quoting Anubhaw Prakash <[email protected]>: >> >> solution please help. I need it very badly. >> Thanks. > The first character is a control code in UTF-8, HTJ. I've tried > assigning and > saving the above character strings in the Rails console. The saved and > retrieved string is empty, but I'm not seeing the error "Incorrect > string > value". What is throwing this error? I also don't understand the part > about > wrapping in double quotes. Why can't you modify your program to change > single > to double quotes? > > Jeffrey
Hi Jeffrey, Your question solved my trouble. I set the database character set to Latin1 and it worked. It took the string with special character in DB. Thanks. -- 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 -~----------~----~----~----~------~----~------~--~---

