I tried to paste this (Marathi: मकबूल फिदा हुसेन, Urdu: مقبول فدا حسين, Hindi: मक़बूल फ़िदा हुसैन)
Error
PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xE0\xA4\xAE\xE0\xA4\x95...' for column 'body_value' at row 1: INSERT INTO {field_data_body} (entity_type, entity_id, revision_id, bundle, delta,
Is it possible to make it work or it functions properly

Comments

twod’s picture

Status: Active » Postponed (maintainer needs more info)

Did you get that exception when saving the node?
It doesn't look like it was thrown by Wysiwyg or as a result of what it does when a form is saved. Might be a Drupal Core issue.
If you disable Wysiwyg module (don't need to uninstall it, your editor profiles will come back when enabling it), does that error still show up after pasting the same content and saving?

webankit’s picture

Yes this is a core bug maybe because I am still getting this error

nils.destoop’s picture

Also getting this error on one of my websites.

PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xEF\xBB\xBF...' for column 'body_value' at row 1

I'm using TinyMCE 3.4.1, and the error only occurs when i paste (for example lorem ipsum text) into the editor. When i paste using the: "Paste from Word" plugin, i don't get an error message.

When searching for this error, i saw a lot of topics about encoding. So probably tiny mce messes up some encoding when pasting directly.

// Edit: upgrading to TinyMCE 3.4.5 fixed it for me

twod’s picture

Category: bug » support
Status: Postponed (maintainer needs more info) » Fixed

Looks like it may indeed have been an encoding issue in TinyMCE, so I'll mark this as fixed.
Please reopen it if you're still experiencing problems with TinyMCE 3.4.5 or later.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.