Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8435099
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T06:50:03+00:00 2026-06-10T06:50:03+00:00

I use rails 2.3.11 and on my prod machine I got this exception. In

  • 0

I use rails 2.3.11 and on my prod machine I got this exception. In my dev machine It worked fine, Bascially Iam submitting a textarea with huge content and the column ‘message’ in my db is of type text, so typicaly there shouldn’t be any trouble.

ActiveRecord::StatementInvalid: Mysql::Error: Incorrect string value:
'\xE2\x98\xBA.\x0D\x0A...' for column 'message' at row 1: INSERT INTO `table_xyz
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T06:50:04+00:00Added an answer on June 10, 2026 at 6:50 am

    I’ve seen this happen (too many times) when one of the databases/tables is correctly configured to use utf8, and the other is using a different charset/collation, like latin. When the utf8 database was populated, it was done by copying over the data from the latin database. Subsequent updates/entries into the utf8 database would fail, when the data contained unicode characters, like ☃. It may be that, even without data copying, an incorrect database charset/collation could cause this. It can also sometimes help to ensure that your database yml contains encoding: utf8.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use rails applicaton at my local machine and it works fine. But I
So where does Rails pick up the environment context (dev, test, prod). Lets say
We use rails version 2.3.5 This error has been reported in SO here I
I use rails 3.0.3 A javascript auto complete needs data like this { query:'Li',
I use Rails 2.3 i18n with a database backend plugin : http://github.com/dylanz/i18n_backend_database This stores
I've got an app developed on Ruby 1.8.6 and frozen to use Rails 2.0.2
I use Rails with PostgreSQL and it works perfectly for queries like this: #
I use rails.vim and surround.vim plugins to insert <% -%> tags as explained in
I'm use Rails 2.2.2. Rails manual said, the way to extend controller from plug-in
I'd like to use Rails 2.2.2 for one project and Rails 2.3.2 for another.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.