• Hi webvitalii, thank you for your plugin that is in my “default plugin set” every time. But I have noticed it misses some accented letters when file comes from Mac OS enviroment.

    For example “zs? barrandov.png” … where “?” looks like normal Czech letter, but in that filename it’s oddly encoded. When I try to delete that letter with backspace, it removes only the accent on the first key press, and then I have to press backspace again to finally delete the “s” letter. Two backspace presses for one accented letter. Not anything I have seen before.

    • This topic was modified 7 years, 9 months ago by mklusak.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author webvitaly

    (@webvitaly)

    That is pretty weird issue.
    I don’t know how to fix right now.

    Thread Starter mklusak

    (@mklusak)

    I was dealing with this before – renaming already uploaded files, and used this code that seems to work well:

    $file = 'zs? barrandov.png';
    $sanitized_file  = preg_replace('/\pM+/u', '', $file);

    Maybe you could use that somehow in your plugin – in this special case.

    • This reply was modified 7 years, 9 months ago by mklusak.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Filenames with accents and Mac OS’ is closed to new replies.