Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author thomstark

    (@thomstark)

    Utf8 and php are not friendly with each other. I’m actually utf8 encoding the filenames from 2.5 on, so I guess yours lookks like that because it’s double encoded. Would you kindly email the file from your screenshot to me at [ redacted, support is not offered via email, Skype, IM etc. only in the forums ] I will get this worked out for you.

    Thread Starter moonkir

    (@moonkir)

    please tell us your gmail address

    Plugin Author thomstark

    (@thomstark)

    I will get this resolved for you, but in the meantime, you can open up

    wp-content/plugins/file-away/lib/cls/class.fileaway.php

    and find the line that says:

    $rawname = utf8_encode($rawname);

    and delete it.

    Thread Starter moonkir

    (@moonkir)

    sent
    did not know that the @ in English is “at” ….

    Thread Starter moonkir

    (@moonkir)

    I will get this resolved for you, but in the meantime, you can open up
    wp-content/plugins/file-away/lib/cls/class.fileaway.php
    and find the line that says:
    $rawname = utf8_encode($rawname);
    and delete it.

    i`t worked

    Plugin Author thomstark

    (@thomstark)

    Great! For downloading, if your download fails, you might also have to change this:

    fileaway_utility::unicode(utf8_encode($link))

    to this:

    fileaway_utility::unicode($link)

    in the same document, just a few lines down from the other line discussed.

    Thread Starter moonkir

    (@moonkir)

    the file is downloaded, but the name is illegible – I sent you two archives
    one downloaded 2.3.1 – a normal name
    in the other downloads in 2.5.0 – not a normal name

    Plugin Author thomstark

    (@thomstark)

    Did you try making the second change above?

    Plugin Author thomstark

    (@thomstark)

    Also, do you have unicode=”true” in your shortcode?

    Thread Starter moonkir

    (@moonkir)

    The file is downloaded from a normal name
    and so:
    fileaway_utility :: unicode (utf8_encode ($ link))
    and so:
    fileaway_utility :: unicode ($ link)

    Plugin Author thomstark

    (@thomstark)

    Just to be sure I understand, you changed it to this: fileaway_utility::unicode($link) and now it downloads correctly?

    Thread Starter moonkir

    (@moonkir)

    correct download and name back after deleted $rawname = utf8_encode($rawname);

    Plugin Author thomstark

    (@thomstark)

    OK. The next release will have this corrected for you.

    Thread Starter moonkir

    (@moonkir)

    Thanks for the quick help
    Your plugin is great

    Plugin Author thomstark

    (@thomstark)

    Thank you for helping me solve the problem. All the best!

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘utf-8 encoding’ is closed to new replies.