• Resolved Allyson

    (@allysonsouza)


    Hi, I’m working on a project where the client used emojis in filenames, tried your plugin, it’s great, but it’s not doing anything about the emojis. Can you help me?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hi,

    Of course, so that it works, you will need to keep the UTF-8 option off.

    A little change in the plugin is required, and after a few tests I am considering adding it to the next release.

    Open the core.php file, look for the replace_special_chars function. In there, right before the “return $str;”, add this line:

    $str = preg_replace( ‘/[[:^print:]]/’, ”, $str );

    I think this should have been there for a while. I have tried it and indeed, it removed emoji.

    Let me know ??

    Thread Starter Allyson

    (@allysonsouza)

    Hi Jordy,

    It worked for emojis, now I figured it’s not dealing with all my images, skipping some images with special characteres like that Que-é-você.jpg, doing nothing. Should I open a new thread? I don’t know what can it be.

    Plugin Author Jordy Meow

    (@tigroumeow)

    I would like to work on this issue with you directly. Can you contact me at meowapps.com/contact?

    Thread Starter Allyson

    (@allysonsouza)

    Hi Jordy,

    Unfortunately I re-uploaded these images manually, they’re not many and the project was a mess, and was late, so we don’t have the real case to work on it, but of course we can talk and I can show how it was before I replaced the images.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Emojis in filenames not being recognized’ is closed to new replies.