Ruby on Rails Monday, January 5, 2015

Following are the encodings/collations and versions that I am using:
Rails : utf8, 4.0
Mysql: latin_general_ci, 14.14 Distrib 5.5.40

On Monday, January 5, 2015 10:25:32 PM UTC+5:30, Hassan Schroeder wrote:
On Mon, Jan 5, 2015 at 2:44 AM, Kriti Aggarwal <krit...@gmail.com> wrote:

> I am getting the following mysql error:
>>
>> "'Incorrect string value: '\xE2\x9C\x93"\x0A ...' for column 'handler' at
>> row 1"
>
>  I already searched for the above error and found that its because of the
> difference in encoding in mysql and rails.

So, what encodings/collations *are* you using? And what version of
MySQL? What versions of Ruby and Rails?

--
Hassan Schroeder ------------------------ hassan.s...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/8bf34842-1fc4-4527-b940-a1b8b7e0b8a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment