Reading Nextcloud docs, it seems the change could also affect database backups:
If you use
mysqldumpmake sure to add the--default-character-set=utf8mb4option. Otherwise your backups are broken and restoring them will result in?instead of the emojis, making files inaccessible.