• Mark

    (@markeasyitmecom)


    Hi,
    Using duplicator I got some Hungarian characters showing up differently at the target location than at the source (not UTF-8 characters, but some gibberish), hence those pictures did not show on the site.
    When I did a zip file manually on ‘wp-content’ under cpanel on the source server and then extracted it to the target server the file names were all UTF-8 and the pictures finally were displayed.
    So there must be something during the duplication process that is causing that duplicator somehow cannot carry over the filenames properly.
    The database collation is UTF8-general-ci in source and UTF8mb4-general-ci in destination.
    Could you please advise? I like the plugin very much, and I would like to be sure it works fine!
    Thanks,
    Mark

    https://www.ads-software.com/plugins/duplicator/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey Mark,

    That issue has come up before, quite awhile back. To be honest I’m not 100% sure how to solve it. I have it on the todo list, but may need some assistance from the WP dev community on that one…

    Cheers~

    Thread Starter Mark

    (@markeasyitmecom)

    Hey,

    When I made a zip file of the content via cpanel and unzipped that one the file names were okay. This hints the file names get changed when they got zipped (or unzipped?) by the plugin. Maybe there is a way to set the encoding in the zipping part of the plugin to make it sure it handles UTF-8 properly?

    Cheers,
    Mark

    That may be a good clue… PHP doesn’t naturally handle encoded string correctly, I’ll have to do some research on it, and its now on the todo list…

    Cheers~

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘UTF-8 encoding error in file names?’ is closed to new replies.