• DannyG

    (@dannygarcia1971)


    Dear Support,

    After the backup is done I checked the files in a folder and found the following issue with the names of the images in russian language, for example:

    6-ютуб.jpg file was renamed by the plugin into 6-╤О╤В╤Г╨?.jpg which feels like an issue with encoding of unicode.

    Is there any way to fix this bug?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support tonyrobins

    (@tonyrobins)

    Hi @dannygarcia1971

    Let us troubleshoot this problem and see if there is a solution.

    Also, did you find it after downloading the files to Windows? If so, maybe it’s because your Windows does not support the language.

    Could you restore the backup on a site that is in the same language? And then see if the same issue appear in the file name after the restoration.

    All the best,

    Thread Starter DannyG

    (@dannygarcia1971)

    Yes, I found it after downloading the files to Windows. While the same folder backed up by UpdraftPlus shows correctly converted characters. So there’s a definitely bug in the script. You can just try to simulate the same situation in your environment. Please try to do the following simple experiment:

    1. Create any file in your WordPress folder and rename this file into 6-ютуб.jpg
    2. Make a backup using WPvivid Backup Plugin
    3. Unzip the archive and check the file name. Does it read as 6-ютуб.jpg or its name is 6-╤О╤В╤Г╨?.jpg ?

    Let me know the results.

    Thanks.

    Plugin Support tonyrobins

    (@tonyrobins)

    Hi @dannygarcia1971

    Thanks for the update.

    Let us try to reproduce it in our environment.

    I am going to keep you posted on any updates.

    All the best,

    Thread Starter DannyG

    (@dannygarcia1971)

    Hi @tonyrobins

    Wondering if you have any update?

    Thanks.

    Plugin Support tonyrobins

    (@tonyrobins)

    Hi @dannygarcia1971

    We’ve been working on a new release thus have not had time to test it yet.

    But we are going to do it as soon as possible and will keep you posted on any updates.

    All the best,

    Plugin Support tonyrobins

    (@tonyrobins)

    Hi @dannygarcia1971

    Just a quick update,

    After testing it, we found that is indeed the case. That is because the plugin uses the PclZip class provided by WordPress. The class currently does not support manually setting encoding.

    But in our further tests, we found that it does not affect backup and restoration of WPvivid backups, here was what we did.

    1. Created a test file directory in our WordPress Uploads folder, and renamed the file into 6-ютуб.jpg.

    2. Created a backup.

    3. Deleted the file.

    4. Restored the site from the backup.

    After the restoration, we found that the file name was displayed correctly.

    All the best,

    Thread Starter DannyG

    (@dannygarcia1971)

    Hi,

    Thanks for the update. While UpdraftPlus doesn’t have this issue in zipping don’t you guys want to check their method of correct zipping preventing this unicode mess? This is crucial if I want to keep backup files not just for restoration by WPvivid.

    Plugin Support tonyrobins

    (@tonyrobins)

    Hi @dannygarcia1971

    Thanks for the update.

    We are definitely going to consider that and will do some research.

    All the best,

    Thread Starter DannyG

    (@dannygarcia1971)

    Hi @tonyrobins !

    To resolve the problem above you might consider using a standard zlib php class or Lzo class which is used by updraftplus with success.

    Just a quick note you might find useful.

    Plugin Support tonyrobins

    (@tonyrobins)

    Hi @dannygarcia1971

    Thanks for the information! That will help.

    All the best,

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘unicode characters encoding bug’ is closed to new replies.