Raised This Month: $32 Target: $400
 8% 

Incorrect string value: '\xF0\x9F\x92\x8B\xF0\x9F...'


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
T1MOXA
Member
Join Date: Aug 2016
Old 09-23-2018 , 01:45   Incorrect string value: '\xF0\x9F\x92\x8B\xF0\x9F...'
Reply With Quote #1

Hi, everybody.
For a long time I can't solve such error "Incorrect string value: '\xF0\x9F\x92\x8B\xF0\x9F...' for column 'name' at row 1".

utf8mb4 encoding didn't help

database charset - utf8mb4
database collation - utf8mb4_general_ci
table collation - utf8mb4_general_ci
row collation - utf8mb4_general_ci

What I'm doing wrong, please help )
T1MOXA is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 09-23-2018 , 03:48   Re: Incorrect string value: '\xF0\x9F\x92\x8B\xF0\x9F...'
Reply With Quote #2

Sourcemod 1.10 supports the utf8mb4 character set. Use that & set the plugin's character set to utf8mb4, problem no more!
__________________
sneaK is offline
T1MOXA
Member
Join Date: Aug 2016
Old 09-23-2018 , 14:57   Re: Incorrect string value: '\xF0\x9F\x92\x8B\xF0\x9F...'
Reply With Quote #3

Yes, changing the code is an option, but you will need to do it every time you update plugin, and you need to change a lot of plugins.
Is there no easier way ?
T1MOXA is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:18.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode