UpdraftPlus Home › Forums › Paid support forum – UpdraftPlus backup plugin › emojis are not supported
- This topic has 10 replies, 5 voices, and was last updated 5 years, 4 months ago by Dee Nutbourne.
-
AuthorPosts
-
August 17, 2018 at 4:43 pm #299893adnanParticipant
hi,
when i backup and restored a site, emojis are replaced with ???? (question marks) . Please fix this.
August 17, 2018 at 4:56 pm #299900Bryle CroduaModeratorHi,
Please could you send us a copy of the log for the restoration that encountered the issue? This can be found in the ‘wp-content/updraft’ directory of the new site.
Are you using any page builder plugin/theme (such as WPBakery) on your site?
Best Wishes,
BryleAugust 17, 2018 at 5:34 pm #299918adnanParticipantThis reply has been marked as private.August 20, 2018 at 5:03 pm #300391Dee NutbourneModeratorHi,
Thank you.
Please could check what collation is used for the database tables on the site you are migrating to?
You should be able to check this information in your MySQL administration tool (e.g. phpMyAdmin)Best Wishes,
David NAugust 26, 2018 at 5:43 am #301433adnanParticipantThis reply has been marked as private.August 28, 2018 at 5:54 pm #301947Dee NutbourneModeratorHi,
Thank you. I have passed this on to our developers for further investigation.
Best Wishes,
David NOctober 26, 2018 at 9:06 am #313816udadminKeymasterHi,
We are currently working on this issue. This is caused by having
define('DB_CHARSET', 'utf8');
in yourwp-config.php
file on the site you back up, which indicates that you want to use UTF8 as your database character set, but then having characters from UTF8MB4 which are not in UTF8 (which includes emojis) in your database. We are currently working on enhancing UpdraftPlus to be able to detect and handle this situation automatically.As a work-around, you can change
define('DB_CHARSET', 'utf8');
todefine('DB_CHARSET', 'utf8mb4');
on the site you are backing up, and take a fresh backup. If you have an existing backup that you want to use, you can decompress it, open it in a text editor, and change theSET NAMES
line value near the top fromutf8
toutf8mb4
.Our fix is for this issue has been developed and has been through its first rounds of testing. It is currently in the final testing/review stage and will hopefully be in a new release next week.
David
December 2, 2018 at 2:50 am #324418david282ParticipantAny update on this issue? I’m having basically the same problem even after applying the change udadmin mentioned and making a new backup.
My wp-config has this:
define(‘DB_CHARSET’, ‘utf8mb4’);
define(‘DB_COLLATE’, ”);I did a backup and verified that db file does indeed have:
/*!40101 SET NAMES utf8mb4 */;But only some emojis work, the others show up as “?”.
Looking at the log file I think the problem is the mysqldump command:
0054.998 (0) Output: /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;\n/*!40103 SET TIME_ZONE=’+00:00′ */;\n/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;\n/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;\n/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE=’NO_AUTO_VALUE_ON_ZERO’ */;\n/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;\nDROP TABLE IF EXISTSwp_options
;\n/*!40101 SET @saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client = utf8 */;\nCRE (truncated – 1191 bytes total)That seems to be setting UTF8 specifically.
Any suggestions on how to fix this?
I’m using UpdraftPlus Premium Version 2.15.5.24
Thanks
December 3, 2018 at 8:23 pm #324807Dee NutbourneModeratorHi,
If possible, please could you send some examples of the emoji that are being replaced?
Best Wishes,
David NDecember 3, 2018 at 9:11 pm #324822david282ParticipantSure, here are two:
https://emojipedia.org/headphone/
🎧https://emojipedia.org/books/
📚FYI, when I download and open the database backup file these emoji show up as “?” in the backup file itself.
*And just incase it helps, this emoji shows up properly:
https://emojipedia.org/white-medium-star/
⭐December 4, 2018 at 5:07 pm #325043Dee NutbourneModeratorHi,
Thank you. I will pass this on for further investigation.
Best Wishes,
David N -
AuthorPosts
- The topic ‘emojis are not supported’ is closed to new replies.