Problem with download – caracter "�"

Home \ forums/topic \ Problem with download – caracter "�"

Support Home Page Forums Joomla Software Easy Folder Listing Module Problem with download – caracter "�"

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #467
    makostrike
    Participant

    Hello, very good plugin but I have a problem with downloads

    I tell you:

    when downloading a file that generates the URL includes characters like this

    “?”

    For example, replace “í” by “�” therefore I can not download it.

    Link to download.

    http://192.168.1.30/intranet3/sig/p-procedimientos/p-operaciones/obras civiles/viña del mar 379/p-o-379-hormigonado con tuber�a tremie.docx

    The displayed either on the page, the problem is when trying to download

    try modifying the code:

    $ url = strtolower ($ url);

    $ find = array (‘á’, ‘é’, ‘t’, ‘ó’, ‘ú’, ‘ñ’);

    $ repl = array (‘á’, ‘é’, ‘t’, ‘ó’, ‘ú’, ‘ñ’);

    etc …

    but I only work with some extensions like. “doc” and not “docx”

    I request your help

    thank you very much,

    regards

    #1753
    Michael Gilkes
    Keymaster

    @makostrike. Thanks for posting. Although you are free to change the code to fit your needs, you should try the built-in UTF-8 options. You should try the various options for “Force encode UTF-8” in the Plug-ins Manager to see which one will work for your situation. Also, please ensure that you have the correct source encoding set. This is the encoding that is used by your server’s file system. It is usually “ISO-8859-1”, but sometimes it is something else.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Problem with download – caracter "�"’ is closed to new replies.