Support » Plugin: Leira Letter Avatar » Russian letters

  • Plugin Contributor ivankuraev



    For support russian language:

    edit class-leira-letter-avatar-public.php

    $regex = ‘/([^\p{L}]*(\p{L})\p{L}*)/u’; // need /u for unicode
    $letters = mb_substr( $letters, 0, $letters_count, ‘UTF-8’ ); // use mb with encoding argument

Viewing 1 replies (of 1 total)
  • Plugin Author Ariel


    Thanks @ivankuraev for your collaboration.
    Your code will also add support for some other languages with especial characters
    I will include this code in the next plugin release as well as you as plugin collaborator.

Viewing 1 replies (of 1 total)
  • The topic ‘Russian letters’ is closed to new replies.