Incorrect string value: '\xF0\x9F\x91\x87\xF0\x9F - error

Fenrir

Collaborate
Collaborate
Registered
Joined
Dec 11, 2021
Messages
110
Points
143

Reputation:

I think the problem is in the base charset
Do you have emoji support enabled?
 

Wolf Knight

+Lifetime VIP+
+Lifetime VIP+
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Jul 3, 2019
Messages
200
Points
53

Reputation:

View previous replies…

thomsa

Moderator
Staff member
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
Jun 22, 2019
Messages
1,067
Points
173

Reputation:

to use commaand

PHP:
php cmd.php xf:convert-utf8mb4

with ssh.
 

Fenrir

Collaborate
Collaborate
Registered
Joined
Dec 11, 2021
Messages
110
Points
143

Reputation:

to use commaand

PHP:
php cmd.php xf:convert-utf8mb4

with ssh.
thomsaI already told him about it. Apparently, after moving to another hosting, he needs to repeat this.
 
View previous replies…

Wolf Knight

+Lifetime VIP+
+Lifetime VIP+
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Jul 3, 2019
Messages
200
Points
53

Reputation:

sorry to ask again what is the collation of xf_unfurl_result table
BattleKing3.9 MB - 6405

Web capture_22-12-2021_205724_auth-db564.hostinger.com.jpeg
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,514
Points
523

Reputation:

The (confusingly named) MySQL utf8 charset only provides support for the basic character plane (out of 17 in total), which constitutes 6% of possible characters. As of MySQL 5.5.3 (2010), the utf8mb4 charset provides full UTF-8 support, being completely backwards compatible, not requiring more space than utf8 for characters that are in the utf8 set, and using extra byte for characters outside of the utf8 set.The (confusingly named) MySQL utf8 charset only provides support for the basic character plane (out of 17 in total), which constitutes 6% of possible characters. As of MySQL 5.5.3 (2010), the utf8mb4 charset provides full UTF-8 support, being completely backwards compatible, not requiring more space than utf8 for characters that are in the utf8 set, and using extra byte for characters outside of the utf8 set.

With the current partial UTF-8 support we lack the 16 other character planes. This would include:
  • Emojis!
  • Mathematical/scientific symbols
  • Some Chinese, Japanese and Korean signs
  • Musical notation
  • Obscure/ancient languages
  • Emoticons, astral symbols, game symbols and other pictographic sets
  • (User defined) Font icons (these normally use reserved planes)
See also:
https://stackoverflow.com/questions/766809/whats-the-difference-between-utf8-general-ci-and-utf8-unicode-ci/766996#766996

utf-8 can store only 1, 2 or 3 bytes characters, while utf8mb4 can store 4 bytes characters as well. utf-8 is a subset of characters given by utf8mb4
 

Wolf Knight

+Lifetime VIP+
+Lifetime VIP+
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Jul 3, 2019
Messages
200
Points
53

Reputation:

Unfortunately, I am Still receiving the same error.
 
Top