WordPress.org

Ready to get started?Download WordPress

Forums

Duplicator
Charset encoding error when duplicating files with Swedish letters ÅÄÖ (7 posts)

  1. chrillefkr
    Member
    Posted 3 months ago #

    When duplicating my website ÅÄÖ and åäö in filenames are not correct. Instead they appear as bjöörns-cykel.jpg instead of bjöörns-cykel.jpg. This is a big issue when working with Swedish filenames, or any other language with non-English, or as i think it's called, latin letters.

    https://wordpress.org/plugins/duplicator/

  2. ninjacolin
    Member
    Posted 3 months ago #

    Same for Russian. :(

  3. Cory Lamle
    Member
    Plugin Author

    Posted 3 months ago #

    Maybe its something with the ZipArchive class, I'll have to do some research on this...

  4. chrillefkr
    Member
    Posted 3 months ago #

    Thank you! If there's someway I could help you, just tell me!

  5. Cory Lamle
    Member
    Plugin Author

    Posted 3 months ago #

    Hey Chrillefkr,

    If you know how to code or someone that does it will probably get done much faster as I have a pretty big todo list right now... Here is the repository for where contributions can be made

    GitHub: https://github.com/lifeinthegrid/duplicator

    Cheers~

  6. webaware
    Member
    Posted 3 months ago #

    You are probably pulling from a Linux hosting to a Windows PC. On Windows, PHP can't handle UTF-8 encoded filenames correctly -- it's a limitation of PHP, and why people say that PHP doesn't really do Unicode (and why the much vaunted, never delivered PHP6 is supposed to be "the saviour")

    See http://stackoverflow.com/a/1887617/911083

    cheers,
    Ross

  7. Cory Lamle
    Member
    Plugin Author

    Posted 3 months ago #

    Yeah PHP is a strange beast that is for sure... Thanks for that update @webaware...

    Cheers~

Reply

You must log in to post.

About this Plugin

About this Topic