Title: utf-8 encoding
Last modified: August 22, 2016

---

# utf-8 encoding

 *  Resolved [moonkir](https://wordpress.org/support/users/moonkir/)
 * (@moonkir)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/utf-8-encoding/)
 * to 2.5 version – Cyrillic displayed correctly
    after 2.5 no 🙁 on Linux server
   file name encoding UTF-8 shortcode unicode = true does not helps
 * [http://savepic.ru/5782140.png](http://savepic.ru/5782140.png)
 * [https://wordpress.org/plugins/file-away/](https://wordpress.org/plugins/file-away/)

Viewing 15 replies - 1 through 15 (of 15 total)

 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/utf-8-encoding/#post-5286031)
 * 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](https://wordpress.org/support/users/moonkir/)
 * (@moonkir)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/utf-8-encoding/#post-5286038)
 * please tell us your gmail address
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/utf-8-encoding/#post-5286039)
 * 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](https://wordpress.org/support/users/moonkir/)
 * (@moonkir)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/utf-8-encoding/#post-5286041)
 * sent
    did not know that the @ in English is “at” ….
 *  Thread Starter [moonkir](https://wordpress.org/support/users/moonkir/)
 * (@moonkir)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/utf-8-encoding/#post-5286043)
 * > 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](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/utf-8-encoding/#post-5286047)
 * 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](https://wordpress.org/support/users/moonkir/)
 * (@moonkir)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/utf-8-encoding/#post-5286048)
 * 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](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/utf-8-encoding/#post-5286049)
 * Did you try making the second change above?
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/utf-8-encoding/#post-5286050)
 * Also, do you have unicode=”true” in your shortcode?
 *  Thread Starter [moonkir](https://wordpress.org/support/users/moonkir/)
 * (@moonkir)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/utf-8-encoding/#post-5286052)
 * 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](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/utf-8-encoding/#post-5286053)
 * Just to be sure I understand, you changed it to this: fileaway_utility::unicode(
   $link) and now it downloads correctly?
 *  Thread Starter [moonkir](https://wordpress.org/support/users/moonkir/)
 * (@moonkir)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/utf-8-encoding/#post-5286054)
 * correct download and name back after deleted `$rawname = utf8_encode($rawname);`
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/utf-8-encoding/#post-5286055)
 * OK. The next release will have this corrected for you.
 *  Thread Starter [moonkir](https://wordpress.org/support/users/moonkir/)
 * (@moonkir)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/utf-8-encoding/#post-5286056)
 * Thanks for the quick help
    Your plugin is great
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/utf-8-encoding/#post-5286057)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/file-away_e3e2e1.svg)
 * [File Away](https://wordpress.org/plugins/file-away/)
 * [Support Threads](https://wordpress.org/support/plugin/file-away/)
 * [Active Topics](https://wordpress.org/support/plugin/file-away/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/file-away/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/file-away/reviews/)

 * 15 replies
 * 2 participants
 * Last reply from: [thomstark](https://wordpress.org/support/users/thomstark/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/utf-8-encoding/#post-5286057)
 * Status: resolved