Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

UTF8 to UTF8mb4 for Offline Messages

$
0
0

Hi,

 

i am experiencing a issue where i can't send custom emojis, when the reciepent is offline. If both parties are online it works without any problems.

So i thought it must be to do something with the MySQL DB when are message gets stored as a offline Message. I executed the following MySQL Statements:

 

ALTER DATABASE openfireDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci;


ALTER TABLE ofOffline CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;


ALTER TABLE ofOffline CHANGE stanza stanza text(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

 

ALTER TABLE ofMessageArchive CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

 

It worked for a short time, but now it doesn't anymore. My DB didn't forget those executed statements( i have checked the tables and they are still in utf8mb4)

 

Thanks,

django


Viewing all articles
Browse latest Browse all 10742

Trending Articles