Support » Plugin: WP Video Gallery » Error with Latin Characters in titles

  • Resolved markimeyer

    (@markimeyer)


    Hi! The plugin is awesome but I’m having a problem with the special latin characters like Ñ, Á, á, É, é, Í, í, Ó, ó, Ú, ú.

    If these characters are part of the name of a video, the plugin replaces them with a “?”.

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter markimeyer

    (@markimeyer)

    The video UNIVERSO – Un suen?o fragmentado should be UNIVERSO – Un sueño fragmentado

    I have the same problem 🙁

    Thread Starter markimeyer

    (@markimeyer)

    Hi, I solved it with this script.

        // Replace special characters
        $patterns = array("/n\?/", "/N\?/", "/a\?/", "/A\?/", "/e\?/", "/E\?/", "/i\?/", "/I\?/", "/o\?/", "/O\?/", "/u\?/", "/U\?/");
        $replacements = array("ñ", "Ñ", "á", "Á", "é", "É", "í", "Í", "ó", "Ó", "ú", "Ú");
        $value->name = preg_replace($patterns, $replacements, $value->name);
    
    • This reply was modified 2 years, 7 months ago by markimeyer.
    • This reply was modified 2 years, 7 months ago by markimeyer.
    Plugin Author Majba

    (@majba)

    Hello @markimeyer ,

    Thank you for reporting this issue and bringing a solution to it !

    We’ll introduce a fix in our next update.

    Regards,
    Younes

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error with Latin Characters in titles’ is closed to new replies.