• Resolved oliver_rub

    (@oliver_rub)


    Hello,
    first of all, great plugin ?? I′ve used it without issues for a long time.
    I′m currently maintaining two platforms in countries who use special characters like ? or ?. When attachements containing those characters (e.g. test-?.pdf) are being uploaded, they are stored with a different filename on the server (windows server in my case), and thus the “link” between the file in WordPress/BuddyPress and the file in the filesystem /uploads/ folder is breaking.
    I would appreciate some guidance in what to do in these cases. I havent looked at the code yet, but I would suspect its an issue due to win/linux handling files differently. Not sure though.
    Who has an idea where to start adapting the plugin for these cases? I think that a solution in which “problematic” special characters are just being truncated on the file system are ok for me, as long as the displayed file name in WordPress is ok.

    Thanks in advance for help
    Kind regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Milan Petrovic

    (@gdragon)

    Files are uploaded with WordPress, so I have no control over that upload process, and for all my tests it worked fine on Windows and Linux. As far as I know, WordPress does a cleanup for the files names before saving. I can investigate more, but as I said, I had no problems so far.

    Thread Starter oliver_rub

    (@oliver_rub)

    Ok thanks for the help. I saw that there are hooks to deal with file names on upload respectively that there are plugins helping with that (https://www.ads-software.com/support/plugin/clean-image-filenames). Just posting this for others who might have the same issue. I′ll mark this as resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issue with special characters (e.g. ?, ?) on windows hosts’ is closed to new replies.