LaserDisc Database
https://forum.lddb.com/

General SQL Error
https://forum.lddb.com/viewtopic.php?f=9&t=6182
Page 1 of 1

Author:  monetri [ 25 Mar 2016, 13:00 ]
Post subject:  General SQL Error

I get this very often when trying to leave a comment..... Now i got it even to send a message. Admin, i cant even reply to your respond, thats why im trying to alert you here.

The error is:


General Error
SQL ERROR [ mysqli ]

Incorrect string value: '\xF0\x9F\x98\x84\xF0\x9F...' for column 'post_text' at row 1 [1366]
----------------------------

Thank you for any help.

Author:  admin [ 25 Mar 2016, 18:34 ]
Post subject:  Re: Error

This is binary code in some format.... what kind of message are you trying to post?

Julien

Author:  monetri [ 25 Mar 2016, 19:18 ]
Post subject:  Re: Error

I get this alert when i try to leave a comment on one of my thread, no matter which desktop/IP or my phone im using.
Also, im unable to reply on your message in my inbox, the same thing.

Author:  admin [ 28 Mar 2016, 06:31 ]
Post subject:  Re: Error

monetri wrote:
I get this alert when i try to leave a comment on one of my thread, no matter which desktop/IP or my phone im using.
Also, im unable to reply on your message in my inbox, the same thing.


These pages:

https://www.phpbb.com/community/viewtopic.php?p=12818556
http://stackoverflow.com/questions/10957238/incorrect-string-value-when-trying-to-insert-utf-8-into-mysql-via-jdbc

Would tend to say that you are trying to push characters not allowed in the database (some Cyrillic, Arabic, etc.).

Are you using any specific language encoding on your browser?
Could you force it to "English UTF-8"?

Julien

Author:  admin [ 28 Mar 2016, 06:34 ]
Post subject:  Re: Error

In your message, '\xF0\x9F\x98\x84' refers to a 4-byte emoji:

http://apps.timwhitlock.info/emoji/tables/unicode

This version of phpBB only handles characters up to 3 bytes, 4 will get rejected.

\xF0\x9F\x98\x84    SMILING FACE WITH OPEN MOUTH AND SMILING EYES


Let me guess.... you're using a Mac and an iPhone/iPad?

Julien

Author:  monetri [ 28 Mar 2016, 12:44 ]
Post subject:  Re: Error

admin wrote:
In your message, '\xF0\x9F\x98\x84' refers to a 4-byte emoji:

http://apps.timwhitlock.info/emoji/tables/unicode

This version of phpBB only handles characters up to 3 bytes, 4 will get rejected.

\xF0\x9F\x98\x84    SMILING FACE WITH OPEN MOUTH AND SMILING EYES


Let me guess.... you're using a Mac and an iPhone/iPad?

Julien
No, not at all, actually my desktop and phone are both Windows and i did not even try to include emoji :(

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/