Title: Modifying the default title. Multi-byte languages.
Last modified: February 14, 2022

---

# Modifying the default title. Multi-byte languages.

 *  Resolved [MaxRGB](https://wordpress.org/support/users/maxrgb/)
 * (@maxrgb)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/modifying-the-default-title-multi-byte-languages/)
 * saswp_get_the_title() function of your plugin does not consider multi-byte languages.
   The code part
 *     ```
       if (strlen($title) > 110){
           $title = substr($title, 0, 106) . ' ...';
       }
       ```
   
 * cuts the default title not in a correct way when the 106-th symbol is multi-byte(
   for example cyrillic), so it returns a string with a �-character.
    In my case
   i changed this code part to
 *     ```
       if (mb_strlen($title, 'UTF-8') > 110){
           $title = mb_substr($title, 0, 106, 'UTF-8') . ' ...';
       }
       ```
   
 * .
    Fix it please. Best regards, MaxRGB.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/modifying-the-default-title-multi-byte-languages/#post-15365861)
 * Sure. For this, We have raised a GitHub ticket in our repository. We will work
   on it and fix it and then push an update with the fix.
 * Here is the reference GitHub link: [https://github.com/ahmedkaludi/schema-and-structured-data-for-wp/issues/1613](https://github.com/ahmedkaludi/schema-and-structured-data-for-wp/issues/1613)
 *  Thread Starter [MaxRGB](https://wordpress.org/support/users/maxrgb/)
 * (@maxrgb)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/modifying-the-default-title-multi-byte-languages/#post-15368940)
 * Thank you very much!
 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/modifying-the-default-title-multi-byte-languages/#post-15370054)
 * You are welcome, We will get back to you with an update soon.
 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/modifying-the-default-title-multi-byte-languages/#post-15381392)
 * We fixed the issue and pushed it in our latest update 1.9.94. Can you please 
   check it once by updating the plugin to the latest version and let me know back
   if it fixes the issue?
 *  Thread Starter [MaxRGB](https://wordpress.org/support/users/maxrgb/)
 * (@maxrgb)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/modifying-the-default-title-multi-byte-languages/#post-15381569)
 * The issue is fixed in new version of the plugin. Thank you!
    -  This reply was modified 4 years, 2 months ago by [MaxRGB](https://wordpress.org/support/users/maxrgb/).

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Modifying the default title. Multi-byte languages.’ is closed to new 
replies.

 * ![](https://ps.w.org/schema-and-structured-data-for-wp/assets/icon-256x256.png?
   rev=1922284)
 * [Schema & Structured Data for WP & AMP](https://wordpress.org/plugins/schema-and-structured-data-for-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/schema-and-structured-data-for-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [MaxRGB](https://wordpress.org/support/users/maxrgb/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/modifying-the-default-title-multi-byte-languages/#post-15381569)
 * Status: resolved