• Hello!
    Thanks for nice plugin, but I am lacking one very important feature…
    Working with multilingual sites, I encountered one problem, that it does not work with russian (cyrillic) keywords.
    For this to work I edited lines 84, 85, 86 in wpa-seo-auto-linker.php to work with utf. I added “u” parementer to regular expressions and replaced strpos/stripos to mb_strpos/mb_stripos and everything works perfectly.
    Here code:

    $reg_post = $options[‘casesens’] ? ‘/(?!(?:[^<\[]+[>\]]|[^>\]]+<\/a>))($name)/msU’ : ‘/(?!(?:[^<\[]+[>\]]|[^>\]]+<\/a>))($name)/imsuU’;
    $reg = $options[‘casesens’] ? ‘/(?!(?:[^<\[]+[>\]]|[^>\]]+<\/a>))\b($name)\b/msU’ : ‘/(?!(?:[^<\[]+[>\]]|[^>\]]+<\/a>))\b($name)\b/imsuU’;
    $strpos_fnc = $options[‘casesens’] ? ‘mb_strpos’ : ‘mb_stripos’;

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Arjan Olsder

    (@arjanolsder)

    Wow, thanks a lot! We have tried to get this working some time ago, but it pretty much broke a lot of stuff. I will plan a beta release later this week for those that want to give it a try! ??

    Thread Starter tpynak

    (@tpynak)

    It’s a bit buggy solution, I am finally waiting for correct UTF8 support from your side ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Unicode UTF support’ is closed to new replies.